diff options
author | Oliver Neukum <oneukum@suse.com> | 2021-10-21 14:29:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-11-02 17:38:11 +0100 |
commit | b9eba0a4a527e04d712f0e0401e5391ef124b33e (patch) | |
tree | 00b7cc094dae35f530a7d3f82e8ce9abc65028d8 /net/lapb/lapb_timer.c | |
parent | 91548920e44ebdde0f7fa323ec6bebffda394e78 (diff) |
usbnet: sanity check for maxpacket
commit 397430b50a363d8b7bdda00522123f82df6adc5e upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions