patch-2.1.18 linux/include/linux/netdevice.h

Next file: linux/include/linux/socket.h
Previous file: linux/include/linux/module.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.17/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -83,7 +83,8 @@
 	int		hh_refcnt;	/* number of users */
 	unsigned short  hh_type;	/* protocol identifier, f.e ETH_P_IP */
 	char		hh_uptodate;	/* hh_data is valid */
-	char		hh_data[16];    /* cached hardware header */
+	/* cached hardware header; allow for machine alignment needs.  */
+	unsigned long	hh_data[16/sizeof(unsigned long)];
 };
 
 /*

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov