PERFORCE change 162160 for review
Marko Zec
zec at FreeBSD.org
Sat May 16 14:33:12 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=162160
Change 162160 by zec at 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
More information about the p4-projects
mailing list