--- - branch: MAIN date: Fri Nov 9 21:57:09 UTC 2018 files: - new: '1.19' old: '1.18' path: src/sys/dev/usb/if_urndis.c pathrev: src/sys/dev/usb/if_urndis.c@1.19 type: modified - new: '1.4' old: '1.3' path: src/sys/dev/usb/if_urndisreg.h pathrev: src/sys/dev/usb/if_urndisreg.h@1.4 type: modified id: 20181109T215709Z.0367f4d93acfbcdc08c49793d6ec9cbdf169690c log: | Set and check NDIS version. Throw away length 1 packets without a warning: we already throw away messages with (len < sizeof(*msg)) a short while after, but print a warning. Hardware is allowed to pad USB packets which % wMaxPacketSize length with such packets for hardware implementation simplicity reasons. This is described in https://docs.microsoft.com/en-us/windows-hardware/drivers/network/usb-short-packets From Artturi Alm in tech-net, with amendment from pgoyette. module: src subject: 'CVS commit: src/sys/dev/usb' unixtime: '1541800629' user: maya