aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_input.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-10-17 21:30:34 -0700
committerDavid S. Miller <davem@davemloft.net>2007-10-17 21:30:34 -0700
commit440725000cba0b1a68ca2df20124be3a5b7f7702 (patch)
treeae278e1b2b5aaed8f1e9d55e91c2913cde5ac653 /net/ipv4/xfrm4_input.c
parent[IPSEC]: Move ip_summed zapping out of xfrm6_rcv_spi (diff)
downloadlinux-dev-440725000cba0b1a68ca2df20124be3a5b7f7702.tar.xz
linux-dev-440725000cba0b1a68ca2df20124be3a5b7f7702.zip
[IPSEC]: Fix length check in xfrm_parse_spi
Currently xfrm_parse_spi requires there to be 16 bytes for AH and ESP. In contrived cases there may not actually be 16 bytes there since the respective header sizes are less than that (8 and 12 currently). This patch changes the test to use the actual header length instead of 16. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_input.c')
0 files changed, 0 insertions, 0 deletions