Oliver Neukum 397430b50a usbnet: sanity check for maxpacket
maxpacket of 0 makes no sense and oopses as we need to divide
by it. Give up.

V2: fixed typo in log and stylistic issues

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reported-by: syzbot+76bb1d34ffa0adc03baa@syzkaller.appspotmail.com
Reviewed-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20211021122944.21816-1-oneukum@suse.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-21 06:44:53 -07:00
..
2021-08-18 11:46:52 +01:00
2021-07-27 20:11:45 +01:00
2021-06-17 11:30:25 -07:00
2021-06-01 17:05:05 -07:00
2021-07-27 20:11:43 +01:00
2021-07-27 20:11:45 +01:00
2021-09-17 11:19:58 +01:00
2021-06-01 17:05:05 -07:00
2019-08-18 13:03:21 -07:00
2021-10-15 14:34:35 +01:00
2021-06-01 17:05:05 -07:00
2021-07-27 20:11:45 +01:00
2021-06-01 17:05:05 -07:00
2021-07-27 20:11:43 +01:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:45 +01:00
2021-07-27 20:11:45 +01:00
2021-10-21 06:44:53 -07:00