From: Bjørn Mork <bjorn@xxxxxxx> Date: Mon, 6 Nov 2017 15:32:18 +0100 > A CDC Ethernet functional descriptor with wMaxSegmentSize = 0 will > cause a divide error in usbnet_probe: > > divide error: 0000 [#1] PREEMPT SMP KASAN ... > Fix by simply ignoring the bogus descriptor, as it is optional > for QMI devices anyway. > > Fixes: 423ce8caab7e ("net: usb: qmi_wwan: New driver for Huawei QMI based WWAN devices") > Reported-by: Andrey Konovalov <andreyknvl@xxxxxxxxxx> > Signed-off-by: Bjørn Mork <bjorn@xxxxxxx> Applied and queued up for -stable. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html