Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Seems expected for tunnel mode, from code of kernel. xfrm_input .... if (x->outer_mode->flags & XFRM_MODE_FLAG_TUNNEL) { decaps = 1; break; } .... if (decaps) { if (skb->sp) skb->sp->olen = 0; skb_dst_drop(skb); gro_cells_receive(&gro_cells, skb); return 0;

Seems expected for tunnel mode, from code of kernel. xfrm_input xfrm_input

....
     if (x->outer_mode->flags & XFRM_MODE_FLAG_TUNNEL) {
         decaps = 1;
         break;
     }
....
    if (decaps) {
        if (skb->sp)
            skb->sp->olen = 0;
        skb_dst_drop(skb);
        gro_cells_receive(&gro_cells, skb);
        return 0;

0;