commit | b1586f099ba897542ece36e8a23c1a62907261ef | [log] [tgz] |
---|---|---|
author | Eric W. Biederman <ebiederm@xmission.com> | Tue Apr 01 12:21:02 2014 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue Apr 01 17:53:36 2014 -0400 |
tree | 24022cea66ee2f01d37f22a94e6d0d5f71988980 | |
parent | 574f7194f693cd80de96a39f0c43dbb346c38a15 [diff] |
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>