Skip to content

Commit

Permalink
include/linux/netdevice.h: don't export MAX_HEADER to userspace
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Jun 28, 2008
1 parent ede16af commit c88e6f5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit c88e6f5

Please sign in to comment.