WSL2-Linux-Kernel/drivers/staging/octeon
Florian Westphal 895b5c9f20 netfilter: drop bridge nf reset from nf_reset
commit 174e23810c
("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: Eric Dumazet <edumazet@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2019-10-01 18:42:15 +02:00
..
Kconfig staging/octeon: Fix build error without CONFIG_NETDEVICES 2019-07-31 09:07:05 -07:00
Makefile staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
TODO staging: octeon-ethernet: add TODO 2019-04-30 15:00:30 +02:00
ethernet-defines.h staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet-mdio.c staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet-mdio.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-mem.c staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet-mem.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-rgmii.c staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet-rx.c staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet-rx.h staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet-sgmii.c staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet-spi.c staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet-tx.c netfilter: drop bridge nf reset from nf_reset 2019-10-01 18:42:15 +02:00
ethernet-tx.h staging: octeon: remove redundant license text 2018-01-15 16:03:45 +01:00
ethernet-util.h staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
ethernet.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2019-09-18 12:34:53 -07:00
octeon-ethernet.h staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00
octeon-stubs.h staging/octeon: Allow test build on !MIPS 2019-07-29 10:35:41 -07:00