net/queue: queue packets even if sender doesn't supply a callback
commit839f368f2b3e4405c9847bf763bdaf3bc26f714d
authorMark McLoughlin <markmc@redhat.com>
Tue, 27 Oct 2009 18:16:37 +0000 (27 18:16 +0000)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 9 Nov 2009 14:43:02 +0000 (9 08:43 -0600)
treeeb5a6cfed8a43ba83f35106437412585f412c391
parent893379efd0e1b84ceb0c42a713293f3dbd27b1bd
net/queue: queue packets even if sender doesn't supply a callback

Now that we disable any receiver whose queue is full, we do not require
senders to handle a zero return by supplying a sent callback.

This is a second step towards allowing can_receive() handlers to return
true even if no buffer space is available.

Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net/queue.c