]> 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)
commit04684de8d4b4afd931b10e03a959e8b39da2ff41
tree9c538b6598b005e91b08b37e91dcb6638c26c4a0
parent28daf9cd1a98bd15e5dffd019d371069b529383a
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