Florian Westphal
af4610c395
netfilter: don't call hooks unless needed
...
With the previous patches in place, a netns nf_hook_list might be empty,
even if e.g. init_net performs filtering.
Thus change nf_hook_thresh to check the hook_list as well before
initializing hook_state and calling nf_hook_slow().
We still make use of static keys; if no netfilter modules are loaded
list is guaranteed to be empty.
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2016-03-02 20:05:26 +01:00
..
acpi
ACPI / CPPC: remove redundant mbox_send_message() declaration
2016-02-03 01:09:52 +01:00
asm-generic
powerpc fixes for 4.5 #2
2016-02-20 09:22:11 -08:00
clocksource
crypto
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
2016-01-22 11:58:43 -08:00
drm
drm/atomic: Allow for holes in connector state, v2.
2016-02-19 13:24:03 +10:00
dt-bindings
clk: tegra: Add the APB2APE audio clock on Tegra210
2016-02-02 15:49:29 +01:00
keys
kvm
linux
netfilter: don't call hooks unless needed
2016-03-02 20:05:26 +01:00
math-emu
media
[media] vb2: fix nasty vb2_thread regression
2016-02-04 09:13:46 -02:00
memory
misc
net
net: l3mdev: address selection should only consider devices in L3 domain
2016-02-26 14:22:26 -05:00
pcmcia
ras
rdma
net: rdma: use __ethtool_get_ksettings
2016-02-25 22:06:46 -05:00
rxrpc
scsi
Initial roundup of 4.5 merge window patches
2016-01-23 18:45:06 -08:00
soc
ARM: SoC driver updates for v4.5
2016-01-20 18:42:30 -08:00
sound
ALSA: rawmidi: Make snd_rawmidi_transmit() race-free
2016-02-03 14:51:28 +01:00
target
target/transport: add flag to indicate CPU Affinity is observed
2016-02-10 23:08:55 -08:00
trace
sunvnet: Add support for perf LDC event tracing
2016-02-07 14:13:05 -05:00
uapi
netfilter: meta: add PRANDOM support
2016-02-29 13:55:59 +01:00
video
xen
Merge branch 'for-4.5/drivers' of git://git.kernel.dk/linux-block
2016-01-21 18:19:38 -08:00
Kbuild