[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9235D6609DB808459E95D78E17F2E43D40B05FD6@CHN-SV-EXMX02.mchp-main.com>
Date: Wed, 23 Aug 2017 21:42:18 +0000
From: <Woojung.Huh@...rochip.com>
To: <f.fainelli@...il.com>, <netdev@...r.kernel.org>
CC: <davem@...emloft.net>, <vivien.didelot@...oirfairelinux.com>,
<UNGLinuxDriver@...rochip.com>
Subject: RE: [PATCH net v2 1/2] net: core: Specify skb_pad()/skb_put_padto()
SKB freeing
> Cc: davem@...emloft.net; vivien.didelot@...oirfairelinux.com; Woojung
> Huh - C21699; UNGLinuxDriver; Florian Fainelli
> Subject: [PATCH net v2 1/2] net: core: Specify skb_pad()/skb_put_padto()
> SKB freeing
>
> Rename skb_pad() into __skb_pad() and make it take a third argument:
> free_on_error which controls whether kfree_skb() should be called or
> not, skb_pad() directly makes use of it and passes true to preserve its
> existing behavior. Do exactly the same thing with __skb_put_padto() and
> skb_put_padto().
>
> Suggested-by: David Miller <davem@...emloft.net>
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
Reviewed-by: Woojung Huh <Woojung.Huh@...rochip.com>
- Woojung
Powered by blists - more mailing lists