summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nfnetlink.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-11-04 20:47:50 -0500
committerDavid S. Miller <davem@davemloft.net>2015-11-04 20:47:50 -0500
commitd9c7dbc11a140851deca7ca080c6fa2661676992 (patch)
tree57e3c7f27152688c4ea2918d0021c8b638986c58 /net/netfilter/nfnetlink.c
parent1b1050cdc5cdde43177b375b5f22dc070d45d8f8 (diff)
parentdbc3617f4c1f9fcbe63612048cb9583fea1e11ab (diff)
downloadblackbird-op-linux-d9c7dbc11a140851deca7ca080c6fa2661676992.tar.gz
blackbird-op-linux-d9c7dbc11a140851deca7ca080c6fa2661676992.zip
Merge git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf
Conflicts: net/netfilter/xt_TEE.c Pablo Neira Ayuso says: ==================== Netfilter fixes for net The following patchset contains Netfilter fixes for your net tree, they are: 1) Fix crash when TEE target is used with no --oif, from Eric Dumazet. 2) Oneliner to fix a crash on the redirect traffic to localhost infrastructure when interface has not yet an address, from Munehisa Kamata. 3) Oneliner not to request module all the time from nfnetlink due to wrong type value, from Florian Westphal. I'll make sure these patches 1 and 2 hit -stable. ==================== The conflict in net/netfilter/xt_TEE.c was minor, a change to the 'oif' selection overlapping a function signature change for the nf_dup_ipv{4,6}() routines. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netfilter/nfnetlink.c')
-rw-r--r--net/netfilter/nfnetlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c
index f1d9e887f5b1..46453ab318db 100644
--- a/net/netfilter/nfnetlink.c
+++ b/net/netfilter/nfnetlink.c
@@ -492,7 +492,7 @@ static int nfnetlink_bind(struct net *net, int group)
type = nfnl_group2type[group];
rcu_read_lock();
- ss = nfnetlink_get_subsys(type);
+ ss = nfnetlink_get_subsys(type << 8);
rcu_read_unlock();
if (!ss)
request_module("nfnetlink-subsys-%d", type);
OpenPOWER on IntegriCloud