summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2014-03-27 23:41:04 +0100
committerDavid S. Miller <davem@davemloft.net>2014-03-29 22:58:37 +0100
commit080b3c19a4ffe4677d7449880f4d0cea07182474 (patch)
tree27705e68d54e29f2c9356d07fca45562b201f290 /net/netlink
parentnetpoll: Rename netpoll_rx_enable/disable to netpoll_poll_disable/enable (diff)
downloadlinux-080b3c19a4ffe4677d7449880f4d0cea07182474.tar.xz
linux-080b3c19a4ffe4677d7449880f4d0cea07182474.zip
netpoll: Remove strong unnecessary assumptions about skbs
Remove the assumption that the skbs that make it to netpoll_send_skb_on_dev are allocated with find_skb, such that skb->users == 1 and nothing is attached that would prevent the skbs from being freed from hard irq context. Remove this assumption by replacing __kfree_skb on error paths with dev_kfree_skb_irq (in hard irq context) and kfree_skb (in process context). Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions