]> xenbits.xensource.com Git - pvdrivers/win/xennet.git/commit
Make sure that a queue of received packets is always pushed
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 22 Sep 2016 10:07:17 +0000 (11:07 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 22 Sep 2016 10:07:17 +0000 (11:07 +0100)
commite7ef9d803ad50626212e3f5829b4a78ae8798426
tree610c31638eb9e12f65c793b8c7b82a157506edec
parent7feaecfc8b5df9b00ce95de7bc5b1462b5a11455
Make sure that a queue of received packets is always pushed

It's possible that the last received packet may suffer an allocation
failure during processing and, as the code stands, any previously
received packets may then not be indicated to the stack.

This patch makes sure that the '!More' condition always results in an
indication, regardless of whether there is an allocation failure.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xennet/receiver.c