diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2007-10-17 21:30:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-10-17 21:30:07 -0700 |
commit | 7aa68cb90638ccc36559a936814e4c089892b3d9 (patch) | |
tree | f31876becacf83572c9f9f417194126d65e3d1cc /net/bridge | |
parent | 33b5ecb8f64706d1ed472dcb44162ab3a7345724 (diff) | |
download | op-kernel-dev-7aa68cb90638ccc36559a936814e4c089892b3d9.zip op-kernel-dev-7aa68cb90638ccc36559a936814e4c089892b3d9.tar.gz |
[IPSEC]: Move ip_summed zapping out of xfrm6_rcv_spi
Not every transform needs to zap ip_summed. For example, a pure tunnel
mode encapsulation does not affect the hardware checksum at all. In fact,
every algorithm (that needs this) other than AH6 already does its own
ip_summed zapping.
This patch moves the zapping into AH6 which is in line with what IPv4 does.
Possible future optimisation: Checksum the data as we copy them in IPComp.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
0 files changed, 0 insertions, 0 deletions