diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-11-13 21:32:26 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 14:53:35 -0800 |
commit | 0148894223740da4818d7f4e6f92cbb5481a25b8 (patch) | |
tree | be37af4b8c3c81b45c7fff28ff7b6f09c78e2ef0 /net/xfrm/xfrm_output.c | |
parent | b24b8a247ff65c01b252025926fe564209fae4fc (diff) | |
download | blackbird-op-linux-0148894223740da4818d7f4e6f92cbb5481a25b8.tar.gz blackbird-op-linux-0148894223740da4818d7f4e6f92cbb5481a25b8.zip |
[IPV6]: Only set nfheader_len for top xfrm dst
We only need to set nfheader_len in the top xfrm dst. This is because
we only ever read the nfheader_len from the top xfrm dst.
It is also easier to count nfheader_len as part of header_len which
then lets us remove the ugly wrapper functions for incrementing and
decrementing header lengths in xfrm6_policy.c.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/xfrm/xfrm_output.c')
0 files changed, 0 insertions, 0 deletions