From: Eric W. Biederman Date: Thu, 27 Mar 2014 22:41:04 +0000 (-0700) Subject: netpoll: Remove strong unnecessary assumptions about skbs X-Git-Tag: v3.15-rc1~113^2~37^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080b3c19a4ffe4677d7449880f4d0cea07182474;p=pandora-kernel.git 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" Signed-off-by: David S. Miller --- Reading git-diff-tree failed