Source-Changes archive

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

CVS commit: src/sys/dev/usb



Module Name:    src
Committed By:   mrg
Date:           Sun Aug 11 23:55:43 UTC 2019

Modified Files:
        src/sys/dev/usb: if_axe.c if_smsc.c if_ure.c if_urndis.c usbnet.c

Log Message:
don't set dv_private.  it's a bad pattern and only didn't
trip kmem_free() lossage because struct usbnet is at the
start of the softc.

for now, enforce this as part of the ABI.

catch up urndis with tx_prepare checking buffer length,
and also add an assert to usbnet_start_locked() to match.


To generate a diff of this commit:
cvs rdiff -u -r1.112 -r1.113 src/sys/dev/usb/if_axe.c
cvs rdiff -u -r1.55 -r1.56 src/sys/dev/usb/if_smsc.c
cvs rdiff -u -r1.24 -r1.25 src/sys/dev/usb/if_ure.c
cvs rdiff -u -r1.28 -r1.29 src/sys/dev/usb/if_urndis.c
cvs rdiff -u -r1.12 -r1.13 src/sys/dev/usb/usbnet.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