> > hi Lorenzo, > > are we sure that 'ershdr' is in the linear part of skb? if not, we might > need a call to pskb_may_pull() here.
Hi Davide, thx for the review. I agree, I think we should check erspan header with pskb_may_pull in gre_parse_header. In this way we can remove the check in ip6erspan_rcv() and erspan_rcv(). I will fix in v2 Does '((*(u8 *)options & 0xF0) != 0x40)' have the same issue? Regards, Lorenzo > > thanks! > -- > davide > > >