[IPSEC]: Use TOS when doing tunnel lookups
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Feb 2006 00:19:26 +0000 (16:19 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 Feb 2006 00:19:26 +0000 (16:19 -0800)
commit4da3089f2b582b21e1374ccc6df722d4361eb915
treefe29539a688f524ef58eab1178c1ef1bea2bff66
parentf8d0e3f11593928ac3f968c378a44e80b04488c9
[IPSEC]: Use TOS when doing tunnel lookups

We should use the TOS because it's one of the routing keys.  It also
means that we update the correct routing cache entry when PMTU occurs.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_policy.c