summaryrefslogtreecommitdiffstats
path: root/drivers/of
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2014-10-10 23:10:47 +0200
committerDavid S. Miller <davem@davemloft.net>2014-10-14 19:10:31 +0200
commit31eff81e94472ddb7549509bf4b6e93e1f6f7dc9 (patch)
treed9a63b8a16e7f8a2cc80a85011cf3f07d465af25 /drivers/of
parentfm10k: Add skb->xmit_more support (diff)
downloadlinux-31eff81e94472ddb7549509bf4b6e93e1f6f7dc9.tar.xz
linux-31eff81e94472ddb7549509bf4b6e93e1f6f7dc9.zip
skbuff: fix ftrace handling in skb_unshare
If the skb is not dropped afterwards we should run consume_skb instead kfree_skb. Inside of function skb_unshare we do always a kfree_skb, doesn't depend if skb_copy failed or was successful. This patch switch this behaviour like skb_share_check, if allocation of sk_buff failed we use kfree_skb otherwise consume_skb. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions