ipv4: Set rt->rt_iif more sanely on output routes.
authorDavid S. Miller <davem@davemloft.net>
Sat, 5 Mar 2011 05:35:25 +0000 (21:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Mar 2011 05:35:25 +0000 (21:35 -0800)
rt->rt_iif is only ever inspected on input routes, for example DCCP
uses this to populate a route lookup flow key when generating replies
to another packet.

Therefore, setting it to anything other than zero on output routes
makes no sense.

Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found