]> git.baikalelectronics.ru Git - kernel.git/commit
[NETFILTER]: nf_conntrack_pptp: fix NAT setup of expected GRE connections
authorPatrick McHardy <kaber@trash.net>
Fri, 26 Jan 2007 09:07:59 +0000 (01:07 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Jan 2007 09:07:59 +0000 (01:07 -0800)
commitb8f4b29d51d9412d9188dc19268bb30d0b329992
tree7e8371fa5c6d9a41957644a8f0ac551e722419cb
parent52b8d4f49d2d93b38d35acdf8e532e749d20fea7
[NETFILTER]: nf_conntrack_pptp: fix NAT setup of expected GRE connections

When an expected connection arrives, the NAT helper should be called to
set up NAT similar to the master connection. The PPTP conntrack helper
incorrectly checks whether the _expected_ connection has NAT setup before
calling the NAT helper (which is never the case), instead of checkeing
whether the _master_ connection is NATed.

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