]> git.hungrycats.org Git - linux/commit
[IPSEC]: Fix uh->len when doing NATT with IP options.
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Jul 2004 09:56:37 +0000 (02:56 -0700)
committerDavid S. Miller <davem@nuts.davemloft.net>
Fri, 9 Jul 2004 09:56:37 +0000 (02:56 -0700)
commitfc0b7729e53915e99d9568675932970cb7693bdf
treea138b642a84e9d75fa599a6a52b2bd99a00f411d
parent8f5f83803e01446b6fa5ea77278c42fc51682f09
[IPSEC]: Fix uh->len when doing NATT with IP options.

I just noticed that the UDP header length in esp4_output() is incorrect
when IP options are present (in transport mode).  This patch fixes exactly
that.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@redhat.com>
net/ipv4/esp4.c