Messages in this thread | | | Date | Mon, 24 Aug 2020 15:49:02 -0700 (PDT) | Subject | Re: [PATCH] net: Check the expect of skb->data at mac header | From | David Miller <> |
| |
From: Miaohe Lin <linmiaohe@huawei.com> Date: Thu, 20 Aug 2020 08:28:22 -0400
> skb_mpls_push() and skb_mpls_pop() expect skb->data at mac header. Check > this assumption or we would get wrong mac_header and network_header. > > Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Both openvswitch and act_mpls.c seem to adhere to this constraint.
I don't see real value to these extra checks, sorry.
| |