]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: nf_nat_sip: fix NAT setup order
authorPatrick McHardy <kaber@trash.net>
Wed, 26 Mar 2008 03:09:51 +0000 (20:09 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 03:09:51 +0000 (20:09 -0700)
commit3d244121d88cd9b0baa12c25ff25561e7b4f71cd
tree5a8eba8517b481c1ae37d97764f0b01012dfe1af
parentb8beedd25d3913d45b8330a08ab88fdf90eb54b8
[NETFILTER]: nf_nat_sip: fix NAT setup order

We need to set up the destination NAT mapping before the source NAT
mapping, so the NAT core gets to see the final tuple and can decide
whether the source port needs to be remapped.

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