16 lines
649 B
Diff
16 lines
649 B
Diff
|
Bugzilla #254646
|
||
|
|
||
|
Index: xen-3.0.4-testing/tools/ioemu/hw/rtl8139.c
|
||
|
===================================================================
|
||
|
--- xen-3.0.4-testing.orig/tools/ioemu/hw/rtl8139.c
|
||
|
+++ xen-3.0.4-testing/tools/ioemu/hw/rtl8139.c
|
||
|
@@ -754,7 +754,7 @@ static void rtl8139_write_buffer(RTL8139
|
||
|
int wrapped = MOD2(s->RxBufAddr + size, s->RxBufferSize);
|
||
|
|
||
|
/* write packet data */
|
||
|
- if (wrapped && s->RxBufferSize < 65536 && !rtl8139_RxWrap(s))
|
||
|
+ if (wrapped && !(s->RxBufferSize < 65536 && rtl8139_RxWrap(s)))
|
||
|
{
|
||
|
DEBUG_PRINT((">>> RTL8139: rx packet wrapped in buffer at %d\n", size-wrapped));
|
||
|
|