[IPSEC]: Set dst->input to dst_discard
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Nov 2007 05:35:32 +0000 (21:35 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:53:40 +0000 (14:53 -0800)
commit45ff5a3f9a3d0b1b4f063b5285ab39b7fac59471
tree4b7ed3d419b20e935f356f2020bd485e6f1e6ab5
parent8ce68ceb55fb62d2c8e9a3e94c4ef6ff3e3064ce
[IPSEC]: Set dst->input to dst_discard

The input function should never be invoked on IPsec dst objects.  This
is because we don't apply IPsec on input until after we've made the
routing decision.

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