mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
bitkeeper revision 1.1108.9.1 (40ff33f7mGpVA0FaO9NtlXnmThKnuA)
network.c: Small bugfix.
This commit is contained in:
1 parent
dba2bf8bc2
commit
d31af090d2
1 file changed
+3
@@ -275,6 +275,9 @@ static void network_alloc_rx_buffers(struct net_device *dev)
|
||||
}
|
||||
while ( (++i - np->rx_resp_cons) != NETIF_RX_RING_SIZE );
|
||||
|
||||
if ( unlikely(nr_pfns == 0) )
|
||||
return;
|
||||
|
||||
/*
|
||||
* We may have allocated buffers which have entries outstanding in the page
|
||||
* update queue -- make sure we flush those first!
|
||||
|
||||