netfilter: bridge-netfilter: simplify IP DNAT
authorBart De Schuymer <bdschuym@pandora.be>
Thu, 15 Apr 2010 10:14:51 +0000 (12:14 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 15 Apr 2010 10:14:51 +0000 (12:14 +0200)
commitea2d9b41bd418894d1ee25de1642c3325d71c397
treee8187786c8d83123da104476fc0eb7132ec29045
parent9c6eb28aca52d562f3ffbaebaa56385df9972a43
netfilter: bridge-netfilter: simplify IP DNAT

Remove br_netfilter.c::br_nf_local_out(). The function
br_nf_local_out() was needed because the PF_BRIDGE::LOCAL_OUT hook
could be called when IP DNAT happens on to-be-bridged traffic. The
new scheme eliminates this mess.

Signed-off-by: Bart De Schuymer <bdschuym@pandora.be>
Signed-off-by: Patrick McHardy <kaber@trash.net>
include/linux/netfilter_bridge.h
net/bridge/br_device.c
net/bridge/br_netfilter.c