Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 May 2009 14:33:10 GMT
From:      Marko Zec <zec@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 162160 for review
Message-ID:  <200905161433.n4GEXAk5017354@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=162160

Change 162160 by zec@zec_tpx32 on 2009/05/16 14:33:10

	Reduce diff against head by pruning unused fields in struct
	ifnet.

Affected files ...

.. //depot/projects/vimage-commit2/src/sys/net/if.c#64 edit
.. //depot/projects/vimage-commit2/src/sys/net/if_var.h#25 edit

Differences ...

==== //depot/projects/vimage-commit2/src/sys/net/if.c#64 (text+ko) ====

@@ -688,12 +688,6 @@
 
 #ifdef VIMAGE
 	ifp->if_vnet = curvnet;
-	/*
-	 * Record in which vnet has this ifnet been attached
-	 * for the first time.
-	 */
-	if (ifp->if_home_vnet == NULL) 
-		ifp->if_home_vnet = curvnet;
 #endif
 
 	if_addgroup(ifp, IFG_ALL);

==== //depot/projects/vimage-commit2/src/sys/net/if_var.h#25 (text+ko) ====

@@ -169,8 +169,6 @@
 		(struct ifnet *);
 	int	(*if_transmit)		/* initiate output routine */
 		(struct ifnet *, struct mbuf *);
-	void	(*if_reassign)		/* reassign to vnet routine */
-		(struct ifnet *, struct vnet *, char *);
 	struct	ifaddr	*if_addr;	/* pointer to link-level address */
 	void	*if_llsoftc;		/* link layer softc */
 	int	if_drv_flags;		/* driver-managed status flags */
@@ -196,8 +194,6 @@
 	void	*if_lagg;		/* lagg glue */
 	u_char	 if_alloctype;		/* if_type at time of allocation */
 
-	struct	vnet *if_home_vnet;	/* where this ifnet originates from */
-
 	/*
 	 * Spare fields are added so that we can modify sensitive data
 	 * structures without changing the kernel binary interface, and must



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905161433.n4GEXAk5017354>