diff options
| author | 2015-07-10 18:13:58 -0500 | |
|---|---|---|
| committer | 2015-07-15 17:51:43 +0200 | |
| commit | 4c0911566dec7755d15cb89239fb2db4447f7a62 (patch) | |
| tree | 73aab52ccf78e2b1592c335b69bed499aea6fa93 /include/linux/stackprotector.h | |
| parent | netfilter: kill nf_hooks_active (diff) | |
netfilter: Simply the tests for enabling and disabling the ingress queue hook
Replace an overcomplicated switch statement with a simple if statement.
This also removes the ingress queue enable outside of nf_hook_mutex as
the protection provided by the mutex is not necessary and the code is
clearer having both of the static key increments together.
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
