netfilter: ctnetlink: allow changing NAT sequence adjustment in creation
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 9 Feb 2009 22:33:57 +0000 (14:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Feb 2009 22:33:57 +0000 (14:33 -0800)
commitc969aa7d2cd5621ad4129dae6b6551af422944c6
treec100f3e21e1a2f073dfabe03e941669d4c5c449a
parent3f9007135c1dc896db9a9e35920aafc65b157230
netfilter: ctnetlink: allow changing NAT sequence adjustment in creation

This patch fixes an inconsistency in the current ctnetlink code
since NAT sequence adjustment bit can only be updated but not set
in the conntrack entry creation.

This patch is used by conntrackd to successfully recover newly
created entries that represent connections with helpers and NAT
payload mangling.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_conntrack_netlink.c