diff options
author | Patrick McHardy <kaber@trash.net> | 2013-08-29 12:32:09 +0400 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2013-09-04 13:43:36 +0400 |
commit | f4de4c89d89df5ead42de9fea895f5b8155270da (patch) | |
tree | 12129c3313c294f70d356defc2d29af664f6a1a4 /net/ipv6 | |
parent | 775ada6d9f4c9dc440f5aeca00354eb87f6e0696 (diff) | |
download | linux-f4de4c89d89df5ead42de9fea895f5b8155270da.tar.xz |
netfilter: synproxy_core: fix warning in __nf_ct_ext_add_length()
With CONFIG_NETFILTER_DEBUG we get the following warning during SYNPROXY init:
[ 80.558906] WARNING: CPU: 1 PID: 4833 at net/netfilter/nf_conntrack_extend.c:80 __nf_ct_ext_add_length+0x217/0x220 [nf_conntrack]()
The reason is that the conntrack template is set to confirmed before adding
the extension and it is invalid to add extensions to already confirmed
conntracks. Fix by adding the extensions before setting the conntrack to
confirmed.
Reported-by: Jesper Dangaard Brouer <jesper.brouer@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions