commit | c5027c9a896fbe05367fb893a274deca5114bfd0 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Thu Apr 05 15:54:02 2007 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 05 15:54:02 2007 -0700 |
tree | 0deedc7c6e8edbd9e0dcc255a2f64bcc8c1ab1da | |
parent | 4c4d51a7316b164ba08af61aa0c124a88bc60450 [diff] |
[XFRM]: beet: fix IP option encapsulation Beet mode calculates an incorrect value for the transport header location when IP options are present, resulting in encapsulation errors. The correct location is 4 or 8 bytes before the end of the original IP header, depending on whether the pseudo header is padded. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>