summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorFlorian Fainelli2017-08-23 00:12:14 +0200
committerDavid S. Miller2017-08-24 05:33:49 +0200
commitcd0a137acbb66208368353723f5f1480995cf1c4 (patch)
treefa01d9b120f8a919f3e2bed10d57ec266f9a9003 /security
parentnet: stmmac: socfgpa: Ensure emac bit set in sys manager for MII/GMII/SGMII. (diff)
downloadkernel-qcow2-linux-cd0a137acbb66208368353723f5f1480995cf1c4.tar.gz
kernel-qcow2-linux-cd0a137acbb66208368353723f5f1480995cf1c4.tar.xz
kernel-qcow2-linux-cd0a137acbb66208368353723f5f1480995cf1c4.zip
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 'security')
0 files changed, 0 insertions, 0 deletions