android_kernel_xiaomi_sm8350/drivers/net/usb
Jussi Kivilinna 9f5e60dd5f rndis_host: fix oops when query for OID_GEN_PHYSICAL_MEDIUM fails
When query for OID_GEN_PHYSICAL_MEDIUM fails, uninitialized pointer
'phym' is being accessed in generic_rndis_bind(), resulting OOPS.
Patch fixes phym to be initialized and setup correctly when
rndis_query() for physical medium fails.

Bug was introduced by following commit:
commit 039ee17d1b
Author: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Date:   Sun Jan 27 23:34:33 2008 +0200

Reported-by: Dmitri Monakhov <dmonakhov@openvz.org>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2008-03-25 23:42:06 -04:00
..
asix.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
catc.c
cdc_ether.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
cdc_subset.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
dm9601.c dm9601: configure MAC to drop invalid (crc/length) packets 2008-03-25 23:41:04 -04:00
gl620a.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
kaweth.c
kawethfw.h
Kconfig
Makefile
mcs7830.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
net1080.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
pegasus.c
pegasus.h
plusb.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
rndis_host.c rndis_host: fix oops when query for OID_GEN_PHYSICAL_MEDIUM fails 2008-03-25 23:42:06 -04:00
rtl8150.c rtl8150: use default MTU of 1500 2008-02-03 04:26:15 -08:00
usbnet.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00
zaurus.c Move usbnet.h and rndis_host.h to include/linux/usb 2008-01-31 19:27:00 -08:00