aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2015-05-11 19:28:49 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-11 13:37:42 -0400
commit4cda01e86f68dacc758b2daf6e8809f2ce915b85 (patch)
tree7fe42fda003418011436a936c473ea98ee6ea09f /include/linux/netdevice.h
parentMerge branch 'handle_ing_lightweight' (diff)
downloadlinux-dev-4cda01e86f68dacc758b2daf6e8809f2ce915b85.tar.xz
linux-dev-4cda01e86f68dacc758b2daf6e8809f2ce915b85.zip
net: sched: fix typo in net_device ifdef
This should have been #ifdef not #if. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Fixes: d2788d34885d ("net: sched: further simplify handle_ing") Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index c4e1caf6056f..a6d706b2a947 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1655,7 +1655,7 @@ struct net_device {
rx_handler_func_t __rcu *rx_handler;
void __rcu *rx_handler_data;
-#if CONFIG_NET_CLS_ACT
+#ifdef CONFIG_NET_CLS_ACT
struct tcf_proto __rcu *ingress_cl_list;
#endif
struct netdev_queue __rcu *ingress_queue;