]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
include/linux/netdevice.h: don't export MAX_HEADER to userspace
authorAdrian Bunk <bunk@kernel.org>
Sat, 28 Jun 2008 02:54:54 +0000 (19:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Jun 2008 02:54:54 +0000 (19:54 -0700)
Due to the CONFIG_'s the value is anyway not correct in userspace.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h

index f27fd2009334922325866c69d2abe42bb45bfd67..25f87102ab663e149e10043c9c399a8d8ca3bd96 100644 (file)
@@ -88,6 +88,8 @@ struct wireless_dev;
 #define NETDEV_TX_BUSY 1       /* driver tx path was busy*/
 #define NETDEV_TX_LOCKED -1    /* driver tx lock was already taken */
 
+#ifdef  __KERNEL__
+
 /*
  *     Compute the worst case header length according to the protocols
  *     used.
@@ -114,6 +116,8 @@ struct wireless_dev;
 #define MAX_HEADER (LL_MAX_HEADER + 48)
 #endif
 
+#endif  /*  __KERNEL__  */
+
 struct net_device_subqueue
 {
        /* Give a control state for each queue.  This struct may contain