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

Next file: linux/include/linux/nfs_fs.h
Previous file: linux/include/linux/cyclades.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.24/linux/include/linux/netdevice.h linux/include/linux/netdevice.h
@@ -32,7 +32,11 @@
 #define DEV_NUMBUFFS	3
 #define MAX_ADDR_LEN	7
 #ifndef CONFIG_AX25
+#ifndef CONFIG_TR
 #define MAX_HEADER	32		/* We really need about 18 worst case .. so 32 is aligned */
+#else
+#define MAX_HEADER	48		/* Token Ring header needs 40 bytes ... 48 is aligned */ 
+#endif
 #else
 #define MAX_HEADER	96		/* AX.25 + NetROM */
 #endif

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this