[NETFILTER]: Kill nf_debug
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
e45b1be8bc
commit
18b8afc771
@ -107,10 +107,6 @@ static int ip_dev_loopback_xmit(struct sk_buff *newskb)
|
||||
newskb->pkt_type = PACKET_LOOPBACK;
|
||||
newskb->ip_summed = CHECKSUM_UNNECESSARY;
|
||||
BUG_TRAP(newskb->dst);
|
||||
|
||||
#ifdef CONFIG_NETFILTER_DEBUG
|
||||
nf_debug_ip_loopback_xmit(newskb);
|
||||
#endif
|
||||
nf_reset(newskb);
|
||||
netif_rx(newskb);
|
||||
return 0;
|
||||
@ -192,10 +188,6 @@ static inline int ip_finish_output2(struct sk_buff *skb)
|
||||
skb = skb2;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_NETFILTER_DEBUG
|
||||
nf_debug_ip_finish_output2(skb);
|
||||
#endif /*CONFIG_NETFILTER_DEBUG*/
|
||||
|
||||
nf_reset(skb);
|
||||
|
||||
if (hh) {
|
||||
@ -415,9 +407,6 @@ static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from)
|
||||
to->nf_bridge = from->nf_bridge;
|
||||
nf_bridge_get(to->nf_bridge);
|
||||
#endif
|
||||
#ifdef CONFIG_NETFILTER_DEBUG
|
||||
to->nf_debug = from->nf_debug;
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user