Pārlūkot izejas kodu

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>
Daniel Borkmann 10 gadi atpakaļ
vecāks
revīzija
4cda01e86f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      include/linux/netdevice.h

+ 1 - 1
include/linux/netdevice.h

@@ -1655,7 +1655,7 @@ struct net_device {
 	rx_handler_func_t __rcu	*rx_handler;
 	rx_handler_func_t __rcu	*rx_handler;
 	void __rcu		*rx_handler_data;
 	void __rcu		*rx_handler_data;
 
 
-#if CONFIG_NET_CLS_ACT
+#ifdef CONFIG_NET_CLS_ACT
 	struct tcf_proto __rcu  *ingress_cl_list;
 	struct tcf_proto __rcu  *ingress_cl_list;
 #endif
 #endif
 	struct netdev_queue __rcu *ingress_queue;
 	struct netdev_queue __rcu *ingress_queue;