summaryrefslogtreecommitdiff
path: root/net/netfilter/nf_sockopt.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2017-08-22 15:12:14 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-23 20:33:49 -0700
commitcd0a137acbb66208368353723f5f1480995cf1c4 (patch)
treefa01d9b120f8a919f3e2bed10d57ec266f9a9003 /net/netfilter/nf_sockopt.c
parent013dae5dbc07aa521a38f1ca2d32123ec674bd5d (diff)
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/netfilter/nf_sockopt.c')
0 files changed, 0 insertions, 0 deletions