[NETFILTER]: Fix routing of REJECT target generated packets in output chain
authorPatrick McHardy <kaber@trash.net>
Thu, 4 Jan 2007 20:15:34 +0000 (12:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jan 2007 20:15:34 +0000 (12:15 -0800)
commitc68b8b687f9e3afff14b88327e17901fff0478ca
treef60015bbfd8da9d62479f10cc35328f71f20a792
parente5b5ef7d2b3fa364cb03407c432ae9979657aa6c
[NETFILTER]: Fix routing of REJECT target generated packets in output chain

Packets generated by the REJECT target in the output chain have a local
destination address and a foreign source address. Make sure not to use
the foreign source address for the output route lookup.

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