1 --- a/include/linux/netdevice.h
2 +++ b/include/linux/netdevice.h
3 @@ -445,16 +445,12 @@ struct net_device
5 struct net_bridge_port *br_port;
7 -#ifdef CONFIG_NET_FASTROUTE
8 #define NETDEV_FASTROUTE_HMASK 0xF
9 /* Semi-private data. Keep it at the end of device struct. */
10 rwlock_t fastpath_lock;
11 struct dst_entry *fastpath[NETDEV_FASTROUTE_HMASK+1];
13 -#ifdef CONFIG_NET_DIVERT
14 /* this will get initialized at each interface type init routine */
15 struct divert_blk *divert;
16 -#endif /* CONFIG_NET_DIVERT */
19 /* 2.6 compatibility */
20 --- a/include/linux/skbuff.h
21 +++ b/include/linux/skbuff.h
23 #define NET_CALLER(arg) __builtin_return_address(0)
26 -#ifdef CONFIG_NETFILTER
29 void (*destroy)(struct nf_conntrack *);
30 @@ -92,7 +91,6 @@ struct nf_conntrack {
32 struct nf_conntrack *master;
35 #if defined(CONFIG_IMQ) || defined(CONFIG_IMQ_MODULE)
38 @@ -201,7 +199,6 @@ struct sk_buff {
39 unsigned char *end; /* End pointer */
41 void (*destructor)(struct sk_buff *); /* Destruct function */
42 -#ifdef CONFIG_NETFILTER
43 /* Can be used for communication between hooks. */
46 @@ -211,7 +208,6 @@ struct sk_buff {
47 #ifdef CONFIG_NETFILTER_DEBUG
48 unsigned int nf_debug;
50 -#endif /*CONFIG_NETFILTER*/
52 #if defined(CONFIG_HIPPI)
54 @@ -219,12 +215,8 @@ struct sk_buff {
58 -#ifdef CONFIG_NET_SCHED
59 __u32 tc_index; /* traffic control index */
61 -#if defined(CONFIG_IMQ) || defined(CONFIG_IMQ_MODULE)
62 struct nf_info *nf_info;