[NETFILTER]: nf_conntrack_netlink: clean up NAT protocol parsing
authorPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:47 +0000 (11:15 +0200)
committerPatrick McHardy <kaber@trash.net>
Mon, 14 Apr 2008 09:15:47 +0000 (11:15 +0200)
commitca6a50749012fc17feeec91ee2f9eeacacf06f0b
treeb5dd90319ac557fedda67287576a4bb4be38347b
parent535b57c7c1524125444aa1b874332f6ff1608ef5
[NETFILTER]: nf_conntrack_netlink: clean up NAT protocol parsing

Move responsibility for setting the IP_NAT_RANGE_PROTO_SPECIFIED flag
to the NAT protocol, properly propagate errors and get rid of ugly
return value convention.

Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/nf_nat_proto_common.c
net/netfilter/nf_conntrack_netlink.c