diff options
author | Oliver Neukum <oneukum@suse.com> | 2019-09-19 10:23:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-19 13:27:11 +0200 |
commit | 280ceaed79f18db930c0cc8bb21f6493490bf29c (patch) | |
tree | edbf7f8852963bf643f54508afe877c5cec46857 /tools | |
parent | Merge tag 'xfs-5.4-merge-7' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux (diff) | |
download | linux-280ceaed79f18db930c0cc8bb21f6493490bf29c.tar.xz linux-280ceaed79f18db930c0cc8bb21f6493490bf29c.zip |
usbnet: sanity checking of packet sizes and device mtu
After a reset packet sizes and device mtu can change and need
to be reevaluated to calculate queue sizes.
Malicious devices can set this to zero and we divide by it.
Introduce sanity checking.
Reported-and-tested-by: syzbot+6102c120be558c885f04@syzkaller.appspotmail.com
Signed-off-by: Oliver Neukum <oneukum@suse.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions