linux/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 [NET]: Kill eth_copy_and_sum(). 2007-07-10 22:08:12 -07:00
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 [NET]: kaweth was forgotten in msec switchover of usb_start_wait_urb 2008-01-08 23:30:15 -08:00
kawethfw.h
Kconfig [NET]: Let USB_USBNET always select MII. 2007-11-07 04:11:43 -08:00
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 [NET]: Introduce and use print_mac() and DECLARE_MAC_BUF() 2007-10-10 16:51:42 -07:00
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