Loading net/netfilter/core.c +0 −2 Original line number Original line Diff line number Diff line Loading @@ -174,7 +174,6 @@ int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb, outdev, &elem, okfn, hook_thresh); outdev, &elem, okfn, hook_thresh); if (verdict == NF_ACCEPT || verdict == NF_STOP) { if (verdict == NF_ACCEPT || verdict == NF_STOP) { ret = 1; ret = 1; goto unlock; } else if (verdict == NF_DROP) { } else if (verdict == NF_DROP) { kfree_skb(skb); kfree_skb(skb); ret = -EPERM; ret = -EPERM; Loading @@ -183,7 +182,6 @@ int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb, verdict >> NF_VERDICT_BITS)) verdict >> NF_VERDICT_BITS)) goto next_hook; goto next_hook; } } unlock: rcu_read_unlock(); rcu_read_unlock(); return ret; return ret; } } Loading Loading
net/netfilter/core.c +0 −2 Original line number Original line Diff line number Diff line Loading @@ -174,7 +174,6 @@ int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb, outdev, &elem, okfn, hook_thresh); outdev, &elem, okfn, hook_thresh); if (verdict == NF_ACCEPT || verdict == NF_STOP) { if (verdict == NF_ACCEPT || verdict == NF_STOP) { ret = 1; ret = 1; goto unlock; } else if (verdict == NF_DROP) { } else if (verdict == NF_DROP) { kfree_skb(skb); kfree_skb(skb); ret = -EPERM; ret = -EPERM; Loading @@ -183,7 +182,6 @@ int nf_hook_slow(u_int8_t pf, unsigned int hook, struct sk_buff *skb, verdict >> NF_VERDICT_BITS)) verdict >> NF_VERDICT_BITS)) goto next_hook; goto next_hook; } } unlock: rcu_read_unlock(); rcu_read_unlock(); return ret; return ret; } } Loading