diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-08-22 15:12:14 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-23 20:33:49 -0700 |
commit | cd0a137acbb66208368353723f5f1480995cf1c4 (patch) | |
tree | fa01d9b120f8a919f3e2bed10d57ec266f9a9003 /net/dsa | |
parent | 013dae5dbc07aa521a38f1ca2d32123ec674bd5d (diff) | |
download | linux-cd0a137acbb66208368353723f5f1480995cf1c4.tar.bz2 |
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@davemloft.net>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Woojung Huh <Woojung.Huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
0 files changed, 0 insertions, 0 deletions