[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20201017221946.ghaloeaj6d3k2n4m@skbuf>
Date: Sat, 17 Oct 2020 22:19:47 +0000
From: Vladimir Oltean <vladimir.oltean@....com>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: "andrew@...n.ch" <andrew@...n.ch>,
"f.fainelli@...il.com" <f.fainelli@...il.com>,
"vivien.didelot@...il.com" <vivien.didelot@...il.com>,
"kuba@...nel.org" <kuba@...nel.org>,
Christian Eggers <ceggers@...i.de>,
Kurt Kanzenbach <kurt@...utronix.de>,
Hauke Mehrtens <hauke@...ke-m.de>
Subject: Re: [RFC PATCH 12/13] net: dsa: tag_gswip: let DSA core deal with TX
reallocation
On Sun, Oct 18, 2020 at 12:36:10AM +0300, Vladimir Oltean wrote:
> diff --git a/net/dsa/tag_gswip.c b/net/dsa/tag_gswip.c
> index 408d4af390a0..cde93ccb21ac 100644
> --- a/net/dsa/tag_gswip.c
> +++ b/net/dsa/tag_gswip.c
> @@ -63,10 +63,6 @@ static struct sk_buff *gswip_tag_xmit(struct sk_buff *skb,
> int err;
Unused variable "err" left behind, will delete.
> u8 *gswip_tag;
>
> - err = skb_cow_head(skb, GSWIP_TX_HEADER_LEN);
> - if (err)
> - return NULL;
> -
> skb_push(skb, GSWIP_TX_HEADER_LEN);
>
> gswip_tag = skb->data;
> --
Powered by blists - more mailing lists