patch-2.4.22 linux-2.4.22/include/linux/skbuff.h

Next file: linux-2.4.22/include/linux/sunrpc/xprt.h
Previous file: linux-2.4.22/include/linux/sisfb.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/linux/skbuff.h linux-2.4.22/include/linux/skbuff.h
@@ -135,6 +135,10 @@
 	struct sock	*sk;			/* Socket we are owned by 			*/
 	struct timeval	stamp;			/* Time we arrived				*/
 	struct net_device	*dev;		/* Device we arrived on/are leaving by		*/
+	struct net_device	*real_dev;	/* For support of point to point protocols 
+						   (e.g. 802.3ad) over bonding, we must save the
+						   physical device that got the packet before
+						   replacing skb->dev with the virtual device.  */
 
 	/* Transport layer header */
 	union

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)