commit | 0e56d99a5b557c760394d6941d7d1fc8d279eff3 | [log] [tgz] |
---|---|---|
author | David Woodhouse <David.Woodhouse@intel.com> | Wed Nov 28 00:05:52 2012 +0000 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Sun Dec 02 00:05:15 2012 +0000 |
tree | 530833693bc6df77fcee11f7632971c31429bcaf | |
parent | b89588531f1db93a218c108eee713ff6002a67bf [diff] |
pppoatm: fix missing wakeup in pppoatm_send() Now that we can return zero from pppoatm_send() for reasons *other* than the queue being full, that means we can't depend on a subsequent call to pppoatm_pop() waking the queue, and we might leave it stalled indefinitely. Use the ->release_cb() callback to wake the queue after the sock is unlocked. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Acked-by: Krzysztof Mazur <krzysiek@podlesie.net>