]> err.no Git - linux-2.6/commit
[IPSEC]: Use dst->header_len when resizing on output
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Nov 2007 05:33:01 +0000 (21:33 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:53:36 +0000 (14:53 -0800)
commit550ade8432a2a6fbfb48ba7018750b0e8c81e8d0
tree092838fb75d0352858dc473f32a78d1bc1db05f3
parent0148894223740da4818d7f4e6f92cbb5481a25b8
[IPSEC]: Use dst->header_len when resizing on output

Currently we use x->props.header_len when resizing on output.
However, if we're resizing at all we might as well go the whole hog
and do it for the whole dst.

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