net: kill useless net_*_ingress_queue() definitions when NET_CLS_ACT is unset
Subsystems (2)
PATCH 1/1 net: kill useless net_*_ingress_queue() definitions when NET_CLS_ACT is unset
This fixes 4577139b2dabf589 ("net: use jump label patching for ingress qdisc in __netif_receive_skb_core").
The only client of this is sch_ingress and it depends on NET_CLS_ACT. So there is no way these definition can be of any help.
--- include/linux/rtnetlink.h | 8 -------- 1 file changed, 8 deletions(-)
include/linux/rtnetlink.h +0 -8
@@ -82,14 +82,6 @@ struct netdev_queue *dev_ingress_queue_create(struct net_device *dev);#ifdef CONFIG_NET_CLS_ACT void net_inc_ingress_queue (void );void net_dec_ingress_queue (void ); -#else -static inline void net_inc_ingress_queue (void ) -{ -} - -static inline void net_dec_ingress_queue (void ) -{ -}#endif extern void rtnetlink_init (void );
Signature · 1 line
1.7.10.4
Quoted 8 lines · Pablo Neira Ayuso
This fixes
4577139b2dabf589("net: use jump label patching for ingress qdisc in__netif_receive_skb_core").The only client of this is
sch_ingressand it depends onNET_CLS_ACT. So there is no way these definition can be of any help.Cc Daniel Borkmann <[email protected]>Signed-off-by Pablo Neira Ayuso <[email protected]>
Quoted 9 lines · Pablo Neira Ayuso
This fixes
4577139b2dabf589("net: use jump label patching for ingress qdisc in__netif_receive_skb_core").The only client of this is
sch_ingressand it depends onNET_CLS_ACT. So there is no way these definition can be of any help.Cc Daniel Borkmann <[email protected]>Signed-off-by Pablo Neira Ayuso <[email protected]>---
thank you for following up on this one.
From: Pablo Neira Ayuso <[email protected]>
Date: Tue, 12 May 2015 20:28:07 +0200
Quoted 8 lines
This fixes
4577139b2dabf589("net: use jump label patching for ingress qdisc in__netif_receive_skb_core").The only client of this is
sch_ingressand it depends onNET_CLS_ACT. So there is no way these definition can be of any help.Cc Daniel Borkmann <[email protected]>Signed-off-by Pablo Neira Ayuso <[email protected]>
Applied, thanks Pablo.