]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: Turn rt->rt_route_iif into rt->rt_is_input.
authorDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 21:44:26 +0000 (14:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jul 2012 20:40:02 +0000 (13:40 -0700)
commit4ae1e29658b962bcd4965d18a0582586b3be43f4
tree9c538b6598b005e91b08b37e91dcb6638c26c4a0
parent710fb1416bfb06c611fb5743e61d01b226c87b60
ipv4: Turn rt->rt_route_iif into rt->rt_is_input.

That is this value's only use, as a boolean to indicate whether
a route is an input route or not.

So implement it that way, using a u16 gap present in the struct
already.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/route.h
net/ipv4/route.c
net/ipv4/xfrm4_policy.c