[XFRM]: beet: fix IP option decapsulation
authorPatrick McHardy <kaber@trash.net>
Thu, 5 Apr 2007 23:03:33 +0000 (16:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Apr 2007 23:03:33 +0000 (16:03 -0700)
commit254d0d24e31c3df64ccfff349c9aa9d1e5989819
treeadcbb19764ed646adb5fa2008d5a94d97db54566
parentd4b1e840629562953d81c9fe0a3a67473f3d993c
[XFRM]: beet: fix IP option decapsulation

Beet mode looks for the beet pseudo header after the outer IP header,
which is wrong since that is followed by the ESP header. Additionally
it needs to adjust the packet length after removing the pseudo header
and point the data pointer to the real data location.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_mode_beet.c