From: Bjørn Mork <bj...@mork.no> 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 <andreyk...@google.com> > Signed-off-by: Bjørn Mork <bj...@mork.no> Applied and queued up for -stable.