]> git.karo-electronics.de Git - linux-beck.git/commit
netfilter: nf_nat: no IP_NAT_RANGE_MAP_IPS flags when alloc_null_binding()
authorChangli Gao <xiaosuo@gmail.com>
Thu, 16 Sep 2010 17:47:51 +0000 (19:47 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 16 Sep 2010 17:47:51 +0000 (19:47 +0200)
commited0b6d7581b54455062f09ccac123814e70cd02f
tree7f7e0885e3e0aee7aa49b2a0b735f9e9761ab8eb
parent99ad3c53b36a056a472927de9c79eda231ecc6fe
netfilter: nf_nat: no IP_NAT_RANGE_MAP_IPS flags when alloc_null_binding()

When alloc_null_binding(), no IP_NAT_RNAGE_MAP_IPS in flags means no IP address
translation is needed. It isn't necessary to specify the address explicitly.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/ipv4/netfilter/nf_nat_rule.c