[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200814.135546.2266851283177227377.davem@davemloft.net>
Date: Fri, 14 Aug 2020 13:55:46 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: Jason@...c4.com
Cc: netdev@...r.kernel.org, bpf@...r.kernel.org, thomas@...kpuppet.org,
adhipati@...a.io, dsahern@...il.com, toke@...hat.com,
kuba@...nel.org, alexei.starovoitov@...il.com
Subject: Re: [PATCH net v5] net: xdp: account for layer 3 packets in
generic skb handler
From: "Jason A. Donenfeld" <Jason@...c4.com>
Date: Fri, 14 Aug 2020 09:30:48 +0200
> @@ -4676,6 +4688,7 @@ static u32 netif_receive_generic_xdp(struct sk_buff *skb,
> (orig_bcast != is_multicast_ether_addr_64bits(eth->h_dest))) {
> __skb_push(skb, ETH_HLEN);
> skb->protocol = eth_type_trans(skb, skb->dev);
> + __skb_pull(skb, ETH_HLEN);
> }
>
> switch (act) {
This bug fix is separate from your other changes. Please do not combine
them.
Powered by blists - more mailing lists