• Florian Westphal's avatar
    netfilter: drop bridge nf reset from nf_reset · 895b5c9f
    Florian Westphal authored
    commit 174e2381
    ("sk_buff: drop all skb extensions on free and skb scrubbing") made napi
    recycle always drop skb extensions.  The additional skb_ext_del() that is
    performed via nf_reset on napi skb recycle is not needed anymore.
    
    Most nf_reset() calls in the stack are there so queued skb won't block
    'rmmod nf_conntrack' indefinitely.
    
    This removes the skb_ext_del from nf_reset, and renames it to a more
    fitting nf_reset_ct().
    
    In a few selected places, add a call to skb_ext_reset to make sure that
    no active extensions remain.
    
    I am submitting this for "net", because we're still early in the release
    cycle.  The patch applies to net-next too, but I think the rename causes
    needless divergence between those trees.
    Suggested-by: default avatarEric Dumazet <edumazet@google.com>
    Signed-off-by: default avatarFlorian Westphal <fw@strlen.de>
    Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
    895b5c9f
Name
Last commit
Last update
..
Kconfig Loading commit data...
Makefile Loading commit data...
af_packet.c Loading commit data...
diag.c Loading commit data...
internal.h Loading commit data...