Florian Westphal
039b40ee58
netfilter: nf_queue: only call synchronize_net twice if nf_queue is active
...
nf_unregister_net_hook(s) can avoid a second call to synchronize_net,
provided there is no nfqueue active in that net namespace (which is
the common case).
This also gets rid of the extra arg to nf_queue_nf_hook_drop(), normally
this gets called during netns cleanup so no packets should be queued.
For the rare case of base chain being unregistered or module removal
while nfqueue is in use the extra hiccup due to the packet drops isn't
a big deal.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2017-05-01 11:19:12 +02:00
..
acpi
asm-generic
Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2017-04-02 09:22:03 -07:00
clocksource
crypto
net: Work around lockdep limitation in sockets that use sockets
2017-03-09 18:23:27 -08:00
drm
drm/ttm, drm/vmwgfx: Relax permission checking when opening surfaces
2017-03-30 11:43:39 +02:00
dt-bindings
scripts/spelling.txt: add "overide" pattern and fix typo instances
2017-03-09 17:01:09 -08:00
keys
KEYS: Differentiate uses of rcu_dereference_key() and user_key_payload()
2017-03-02 10:09:00 +11:00
kvm
linux
ebtables: remove nf_hook_register usage
2017-04-26 09:30:21 +02:00
math-emu
media
media fixes for v4.11-rc2
2017-03-09 15:50:56 -08:00
memory
misc
net
netfilter: nf_queue: only call synchronize_net twice if nf_queue is active
2017-05-01 11:19:12 +02:00
pcmcia
ras
rdma
IB/core: Restore I/O MMU, s390 and powerpc support
2017-03-24 21:51:16 -04:00
rxrpc
scsi
scsi: mpt3sas: Avoid sleeping in interrupt context
2017-03-01 21:52:13 -05:00
soc
sound
sched/headers: Prepare to remove spurious <linux/sched.h> inclusion dependencies
2017-03-02 08:42:41 +01:00
target
target: fix ALUA transition timeout handling
2017-03-18 14:47:28 -07:00
trace
There was some breakage with the changes for jump labels in the 4.11 merge
2017-03-07 09:37:28 -08:00
uapi
nefilter: eache: reduce struct size from 32 to 24 byte
2017-04-19 17:55:17 +02:00
video
drm/exynos/decon5433: signal frame done interrupt at front porch
2017-03-21 13:17:22 +09:00
xen
Merge branch 'stable/for-linus-4.11' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb
2017-03-07 10:23:17 -08:00
Kbuild