]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV4]: Remove unsupported DNAT (RTCF_NAT and RTCF_NAT) in IPV4
authorRami Rosen <ramirose@gmail.com>
Wed, 9 Jan 2008 08:18:24 +0000 (00:18 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:01:07 +0000 (15:01 -0800)
commitcb7928a528264a69b29b6001b490b64607ed0557
tree250a296f668275eb628e6dd1f83c221f0afae422
parentf0b5a0dcf125ce43855961ef4f965a91112bea23
[IPV4]: Remove unsupported DNAT (RTCF_NAT and RTCF_NAT) in IPV4

- The DNAT (Destination NAT) is not implemented in IPV4.

- This patch remove the code which checks these flags
in net/ipv4/arp.c and net/ipv4/route.c.

The RTCF_NAT and RTCF_NAT should stay in the header (linux/in_route.h)
because they are used in DECnet.

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c
net/ipv4/route.c