Skip to content
Commit 1018b5c0 authored by David S. Miller's avatar David S. Miller
Browse files

ipv4: Set rt->rt_iif more sanely on output routes.



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: default avatarDavid S. Miller <davem@davemloft.net>
parent 4157434c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment