diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-08 11:35:07 +0200 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2008-10-08 11:35:07 +0200 |
commit | a71996fccce4b2086a26036aa3c915365ca36926 (patch) | |
tree | b029e46dccaa8eceabe44d67ae887630b8acccd2 /net/netfilter/xt_CONNSECMARK.c | |
parent | 678d66753091a4102910392fb6198a6c6ce7f510 (diff) | |
download | kernel_samsung_smdk4412-a71996fccce4b2086a26036aa3c915365ca36926.zip kernel_samsung_smdk4412-a71996fccce4b2086a26036aa3c915365ca36926.tar.gz kernel_samsung_smdk4412-a71996fccce4b2086a26036aa3c915365ca36926.tar.bz2 |
netfilter: netns nf_conntrack: pass conntrack to nf_conntrack_event_cache() not skb
This is cleaner, we already know conntrack to which event is relevant.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'net/netfilter/xt_CONNSECMARK.c')
-rw-r--r-- | net/netfilter/xt_CONNSECMARK.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_CONNSECMARK.c b/net/netfilter/xt_CONNSECMARK.c index ae939e5..5f221c3 100644 --- a/net/netfilter/xt_CONNSECMARK.c +++ b/net/netfilter/xt_CONNSECMARK.c @@ -43,7 +43,7 @@ static void secmark_save(const struct sk_buff *skb) ct = nf_ct_get(skb, &ctinfo); if (ct && !ct->secmark) { ct->secmark = skb->secmark; - nf_conntrack_event_cache(IPCT_SECMARK, skb); + nf_conntrack_event_cache(IPCT_SECMARK, ct); } } } |