ipsec: Fix pskb_expand_head corruption in xfrm_state_check_space
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 30 Sep 2008 09:03:19 +0000 (02:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Sep 2008 09:03:19 +0000 (02:03 -0700)
commitd01dbeb6af7a0848063033f73c3d146fec7451f3
tree7b912030e10097483843c0dfa006e3793e31c9ae
parent94aca1dac6f6d21f4b07e4864baf7768cabcc6e7
ipsec: Fix pskb_expand_head corruption in xfrm_state_check_space

We're never supposed to shrink the headroom or tailroom.  In fact,
shrinking the headroom is a fatal action.

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