android_kernel_samsung_a7y1.../drivers/net
Bjørn Mork 15378360f8 usbnet: ignore endpoints with invalid wMaxPacketSize
[ Upstream commit 8d3d7c2029c1b360f1a6b0a2fca470b57eb575c0 ]

Endpoints with zero wMaxPacketSize are not usable for transferring
data. Ignore such endpoints when looking for valid in, out and
status pipes, to make the drivers more robust against invalid and
meaningless descriptors.

The wMaxPacketSize of these endpoints are used for memory allocations
and as divisors in many usbnet minidrivers. Avoiding zero is therefore
critical.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-04-07 07:37:22 +02:00
..
appletalk A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
arcnet arcnet: provide a buffer big enough to actually receive packets 2020-04-07 07:37:05 +02:00
bonding bonding: Force slave speed check after link state recovery for 802.3ad 2020-04-06 20:52:44 +02:00
caif caif-hsi: fix possible deadlock in cfhsi_exit_module() 2020-04-06 20:05:08 +02:00
can can: peak_usb: force the string buffer NULL-terminated 2020-04-06 20:53:14 +02:00
cris A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
dsa A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ethernet skge: fix checksum byte order 2020-04-07 07:37:19 +02:00
fddi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
fjes A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hamradio A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hippi A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
hyperv A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ieee802154 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ipvlan A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
irda A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
phy net/phy: fix DP83865 10 Mbps HDX loopback disable function 2020-04-07 07:37:11 +02:00
plip A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ppp compat_ioctl: pppoe: fix PPPOEIOCSFWD handling 2020-04-06 20:28:29 +02:00
slip slip: make slhc_free() silently accept an error pointer 2020-04-06 16:40:28 +02:00
team team: Always enable vlan tx offload 2020-04-06 19:17:29 +02:00
usb usbnet: ignore endpoints with invalid wMaxPacketSize 2020-04-07 07:37:22 +02:00
vmxnet3 A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wan A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
wimax wimax/i2400m: fix a memory leak bug 2020-04-06 21:34:19 +02:00
wireless mwifiex: Fix three heap overflow at parsing element in cfg80211_ap_settings 2020-04-06 21:36:14 +02:00
xen-netback xen/netback: Reset nr_frags before freeing skb 2020-04-06 20:50:33 +02:00
dummy.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
eql.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
geneve.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ifb.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Kconfig A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
LICENSE.SRC A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
loopback.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
macvlan.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
macvtap.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Makefile A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mdio.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
mii.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
netconsole.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
nlmon.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
ntb_netdev.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
rionet.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sb1000.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
Space.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
sungem_phy.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
tun.c tun: fix use-after-free when register netdev failed 2020-04-06 21:35:29 +02:00
veth.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
virtio_net.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vrf.c A750FXXU4CTBC 2020-03-27 21:51:54 +05:30
vxlan.c vxlan: Don't call gro_cells_destroy() before device is unregistered 2020-04-06 12:57:14 +02:00
xen-netfront.c xen-netfront: do not assume sk_buff_head list is empty in error handling 2020-04-06 21:36:06 +02:00