]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: Use conntrack information to determine if packet was NATed
authorPatrick McHardy <kaber@trash.net>
Sat, 7 Jan 2006 07:05:17 +0000 (23:05 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sat, 7 Jan 2006 20:57:34 +0000 (12:57 -0800)
commitcb8de1725e5995c970358041eccc2287b54782b7
tree3d101041c9d28a70b8eec77af279cbfbb72b3027
parentb0b7a0e2adae6a06f85cf9b717bb56ed24c95aeb
[NETFILTER]: Use conntrack information to determine if packet was NATed

Preparation for IPsec support for NAT:
Use conntrack information instead of saving the saving and comparing the
addresses to determine if a packet was NATed and needs to be rerouted to
make it easier to extend the key.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/netfilter/ip_nat_standalone.c