summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorGao feng <gaofeng@cn.fujitsu.com>2013-09-17 13:03:47 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2013-09-17 13:05:12 +0200
commit0a0d80eb39aa465b7bdf6f7754d0ba687eb3d2a7 (patch)
treea66687dafb92ab38ba62ce4e463965cafb495605 /net
parent2cf55125c64d64cc106e204d53b107094762dfdf (diff)
downloadlinux-0a0d80eb39aa465b7bdf6f7754d0ba687eb3d2a7.tar.bz2
netfilter: nfnetlink_queue: use network skb for sequence adjustment
Instead of the netlink skb. Signed-off-by: Gao feng <gaofeng@cn.fujitsu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/nfnetlink_queue_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nfnetlink_queue_core.c b/net/netfilter/nfnetlink_queue_core.c
index 95a98c8c1da6..ae2e5c11d01a 100644
--- a/net/netfilter/nfnetlink_queue_core.c
+++ b/net/netfilter/nfnetlink_queue_core.c
@@ -1009,7 +1009,7 @@ nfqnl_recv_verdict(struct sock *ctnl, struct sk_buff *skb,
verdict = NF_DROP;
if (ct)
- nfqnl_ct_seq_adjust(skb, ct, ctinfo, diff);
+ nfqnl_ct_seq_adjust(entry->skb, ct, ctinfo, diff);
}
if (nfqa[NFQA_MARK])