Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-11] src/sys/arch/xen/xen



Module Name:    src
Committed By:   martin
Date:           Sun Sep 13 13:54:09 UTC 2026

Modified Files:
        src/sys/arch/xen/xen [netbsd-11]: xbdback_xenbus.c

Log Message:
Pull up following revision(s) (requested by bouyer in ticket #464):

        sys/arch/xen/xen/xbdback_xenbus.c: revision 1.109

Fix a brain-o in a KASSERT that could cause a guest to panic a DIAGNOSTIC
kernel: to assert that an I/O is already in flight we want
xbdi_pendingreqs > 0, not xbdi_pendingreqs > 1

While there, fix an error path that could also cause a KASSERT to fire
or a state corruption: reset xio_need_bounce to 0 before calling
xbdback_io_error() when the bounce buffer is not fully set up.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.107.4.1 src/sys/arch/xen/xen/xbdback_xenbus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index