aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Eric W. Biederman <ebiederm@xmission.com> 2014-04-01 12:21:02 -0700
committerGravatar David S. Miller <davem@davemloft.net> 2014-04-01 17:53:36 -0400
commitb1586f099ba897542ece36e8a23c1a62907261ef (patch)
tree24022cea66ee2f01d37f22a94e6d0d5f71988980 /lib
parentnet: Add a test to see if a skb is freeable in irq context (diff)
downloadlinux-b1586f099ba897542ece36e8a23c1a62907261ef.tar.gz
linux-b1586f099ba897542ece36e8a23c1a62907261ef.tar.bz2
linux-b1586f099ba897542ece36e8a23c1a62907261ef.zip
netpoll: Use skb_irq_freeable to make zap_completion_queue safe.
Replace the test in zap_completion_queue to test when it is safe to free skbs in hard irq context with skb_irq_freeable ensuring we only free skbs when it is safe, and removing the possibility of subtle problems. Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions