|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Avoid pcnet dm packet loss / corruption.
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID a9f3abcc41499b7be971412d66c08d0e9740ff66
# Parent 8b42c8aea36a974dbc2a302de6d4ec2885f99add
Avoid pcnet dm packet loss / corruption.
Signed-Off-By: Nitin A Kamble <nitin.a.kamble@xxxxxxxxx>
diff -r 8b42c8aea36a -r a9f3abcc4149 tools/ioemu/hw/pcnet.c
--- a/tools/ioemu/hw/pcnet.c Fri Feb 24 18:34:54 2006
+++ b/tools/ioemu/hw/pcnet.c Sat Feb 25 11:27:53 2006
@@ -376,6 +376,10 @@
if (s->recv_pos > 0)
return 0;
+ pcnet_rdte_poll(s);
+ if (!(CSR_CRST(s) & 0x8000)) {
+ return 0;
+ }
return sizeof(s->buffer)-16;
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Avoid pcnet dm packet loss / corruption.,
Xen patchbot -unstable <=
|
|
|
|
|