summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorPablo Neira Ayuso2007-08-08 03:11:26 +0200
committerDavid S. Miller2007-08-08 03:11:26 +0200
commitff4ca8273eafbba875a86d333e059e78f292107f (patch)
tree71a484c1dbd7560b570b5072abf3ef014062f686 /net/ipv4
parent[NETFILTER]: ipt_recent: avoid a possible NULL pointer deref in recent_seq_op... (diff)
downloadkernel-qcow2-linux-ff4ca8273eafbba875a86d333e059e78f292107f.tar.gz
kernel-qcow2-linux-ff4ca8273eafbba875a86d333e059e78f292107f.tar.xz
kernel-qcow2-linux-ff4ca8273eafbba875a86d333e059e78f292107f.zip
[NETFILTER]: ctnetlink: return EEXIST instead of EINVAL for existing nat'ed conntracks
ctnetlink must return EEXIST for existing nat'ed conntracks instead of EINVAL. Only return EINVAL if we try to update a conntrack with NAT handlings (that is not allowed). Decadence:libnetfilter_conntrack/utils# ./conntrack_create_nat TEST: create conntrack (0)(Success) Decadence:libnetfilter_conntrack/utils# ./conntrack_create_nat TEST: create conntrack (-1)(Invalid argument) 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>
Diffstat (limited to 'net/ipv4')
0 files changed, 0 insertions, 0 deletions