diff options
author | Florian Westphal <fw@strlen.de> | 2015-10-27 13:20:25 +0100 |
---|---|---|
committer | Luis Henriques <luis.henriques@canonical.com> | 2015-12-13 17:49:41 +0000 |
commit | c01bb4f0ba43eba5cdfc0a39aa381252f10e510e (patch) | |
tree | 9df1f0e98cc7a730ddb1d47c9dec68cbace1a400 /drivers/sn/ioc3.c | |
parent | c2187dc4bf34e529401d7e2654f6b77bca738dc4 (diff) | |
download | linux-stable-c01bb4f0ba43eba5cdfc0a39aa381252f10e510e.tar.gz linux-stable-c01bb4f0ba43eba5cdfc0a39aa381252f10e510e.tar.bz2 linux-stable-c01bb4f0ba43eba5cdfc0a39aa381252f10e510e.zip |
netfilter: nfnetlink: don't probe module if it exists
commit dbc3617f4c1f9fcbe63612048cb9583fea1e11ab upstream.
nfnetlink_bind request_module()s all the time as nfnetlink_get_subsys()
shifts the argument by 8 to obtain the subsys id.
So using type instead of type << 8 always returns NULL.
Fixes: 03292745b02d11 ("netlink: add nlk->netlink_bind hook for module auto-loading")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'drivers/sn/ioc3.c')
0 files changed, 0 insertions, 0 deletions