[ovs-dev] [PATCH ovn] northd: set packet length in check_pkt_larger()

Gabriele Cerami gcerami at redhat.com
Thu Jun 18 09:36:20 UTC 2020


On 18 Jun, Gabriele Cerami wrote:
> On 17 Jun, Lorenzo Bianconi wrote:
> > > What would be the case if there is a VLAN tag set ?
> > 
> > I am not expert about how ovs manages vlan tags, but looking at [1] and [2], it seems
> > to me vlan header is not accounted in skb->len
> > 
> > Regards,
> > Lorenzo
> > 
> > [1] https://github.com/torvalds/linux/blob/master/net/core/dev.c#L5117
> > [2] https://github.com/torvalds/linux/blob/master/net/openvswitch/vport-netdev.c#L29
> 
> I don't have the full picture of what happens either, but it would seem
> the vlan header is accounted

Nevermind, there's really a lot more into it, indeed I don't have the
full picture of the flow.



More information about the dev mailing list