Joakim Koskela wrote:
> On Tuesday 17 July 2007 17:30:21 Joakim Koskela wrote:
>
>>>>@@ -108,7 +108,8 @@ int xfrm4_rcv_encap(struct sk_buff *skb, __u16
>>>>encap_type) if (x->mode->input(x, skb))
>>>> goto drop;
>>>>
>>>>- if (x->props.mode == XFRM_MODE_TUNNEL) {
>>>>+ if (x->props.mode == XFRM_MODE_TUNNEL ||
>>>>+ x->props.mode == XFRM_MODE_BEET) {
>>>> decaps = 1;
>>>> break;
>>>> }
>>>
> It's been a while, but as a fyi in case there are comments / suggestions
> before submitting the whole patch again - it seems that this had some
> problems after all. Works ok for normal cases, but fails when using ip
> options for the inner packet as they don't get processed after being
> extracted from the pseudoheader. Calling something like ip_options_compile
> from beet_mode's input when handling ipv4 would do the trick, but seems a bit
> ugly & perhaps unsafe, I'd rather just put the whole packet through the loop
> again.
Won't the options get parsed by ip_rcv() on the second reception?
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html