NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/57830: Xennet devices don't work properly with other NetBSD10 clients
> ... in that dhcp works, but no other IP works ... And it has no problem
> with other kinds of guests: Netbsd93,92, Freebsd, and linux
This sounds exactly like my problem in port-xen/57743.
This makes me wonder if the correct file was successfully patched:
> I tried the suggested fix on file (renamed to xennetback_xenbus in RC2)
> and rebuilt GENERIC.
The file in question is still if_xennet_xenbus.c, not xennetback_xenbus.c.
If there is any doubt, you could change the attachment message to show
that the right file was patched.
--- if_xennet_xenbus.c.orig 2023-07-31 11:23:02.000000000 -0400
+++ if_xennet_xenbus.c 2024-01-09 02:15:04.307107315 -0500
@@ -273,7 +273,7 @@
bus_size_t maxsz;
int nsegs;
- aprint_normal(": Xen Virtual Network Interface\n");
+ aprint_normal(": Xen Virtual Network Interface (patched)\n");
sc->sc_dev = self;
sc->sc_xbusd = xa->xa_xbusd;
@@ -1122,7 +1122,10 @@
if (m->m_pkthdr.csum_flags & XN_M_CSUM_SUPPORTED) {
txreq->flags |= NETTXF_csum_blank;
} else {
+// Workaround for PR port-xen/57743
+/*
txreq->flags |= NETTXF_data_validated;
+*/
}
}
if (multiseg && i < lastseg)
Thanks.
- Brian
Home |
Main Index |
Thread Index |
Old Index