OSDN Git Service

ipv4: make sure RTO_ONLINK is saved in routing cache
authorJulian Anastasov <ja@ssi.bg>
Fri, 2 Dec 2011 11:39:42 +0000 (11:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Dec 2011 06:32:23 +0000 (01:32 -0500)
__mkroute_output fails to work with the original tos
and uses value with stripped RTO_ONLINK bit. Make sure we put
the original TOS bits into rt_key_tos because it used to match
cached route.

Signed-off-by: Julian Anastasov <ja@ssi.bg>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found