diff options
author | Patrick McHardy <kaber@trash.net> | 2010-02-03 14:13:03 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-02-03 14:40:17 +0100 |
commit | b2a15a604d379af323645e330638e2cfcc696aff (patch) | |
tree | 75a863636fae6f5e3fcf3dacbdee3ccf1f8b7c8d /net/netfilter/nf_conntrack_netlink.c | |
parent | 0cebe4b4163b6373c9d24c1a192939777bc27e55 (diff) | |
download | linux-3.10-b2a15a604d379af323645e330638e2cfcc696aff.tar.gz linux-3.10-b2a15a604d379af323645e330638e2cfcc696aff.tar.bz2 linux-3.10-b2a15a604d379af323645e330638e2cfcc696aff.zip |
netfilter: nf_conntrack: support conntrack templates
Support initializing selected parameters of new conntrack entries from a
"conntrack template", which is a specially marked conntrack entry attached
to the skb.
Currently the helper and the event delivery masks can be initialized this
way.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/nf_conntrack_netlink.c')
-rw-r--r-- | net/netfilter/nf_conntrack_netlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_conntrack_netlink.c b/net/netfilter/nf_conntrack_netlink.c index f5c0b09e12f..09044f9f4b2 100644 --- a/net/netfilter/nf_conntrack_netlink.c +++ b/net/netfilter/nf_conntrack_netlink.c @@ -1249,7 +1249,7 @@ ctnetlink_create_conntrack(struct net *net, } } else { /* try an implicit helper assignation */ - err = __nf_ct_try_assign_helper(ct, GFP_ATOMIC); + err = __nf_ct_try_assign_helper(ct, NULL, GFP_ATOMIC); if (err < 0) goto err2; } |