|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] Re: Networking patches queue |
Date: | Thu, 11 Jun 2009 07:50:38 -0500 |
User-agent: | Thunderbird 2.0.0.21 (X11/20090320) |
Paul Brook wrote:
On Tuesday 09 June 2009, Mark McLoughlin wrote:net: add return value to packet receive handler (4f1c942b7f)This patch is wrong. We already have a can_receive handler for this purpose. Having this callback and allowing receive to fail is just silly. One or the other, but not both.
How can can_receive fail for something like tap without actually trying to receive a packet?
If anything, we should just get rid of can_receive. -- Regards, Anthony Liguori
[Prev in Thread] | Current Thread | [Next in Thread] |