Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c88e6f51 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

include/linux/netdevice.h: don't export MAX_HEADER to userspace



Due to the CONFIG_'s the value is anyway not correct in userspace.

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ede16af4
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -88,6 +88,8 @@ struct wireless_dev;
#define NETDEV_TX_BUSY 1	/* driver tx path was busy*/
#define NETDEV_TX_BUSY 1	/* driver tx path was busy*/
#define NETDEV_TX_LOCKED -1	/* driver tx lock was already taken */
#define NETDEV_TX_LOCKED -1	/* driver tx lock was already taken */


#ifdef  __KERNEL__

/*
/*
 *	Compute the worst case header length according to the protocols
 *	Compute the worst case header length according to the protocols
 *	used.
 *	used.
@@ -114,6 +116,8 @@ struct wireless_dev;
#define MAX_HEADER (LL_MAX_HEADER + 48)
#define MAX_HEADER (LL_MAX_HEADER + 48)
#endif
#endif


#endif  /*  __KERNEL__  */

struct net_device_subqueue
struct net_device_subqueue
{
{
	/* Give a control state for each queue.  This struct may contain
	/* Give a control state for each queue.  This struct may contain