Quoting Dmitri Monakhov <dmonakhov@xxxxxxxxxx>:
Hi, Today after i've plugged usbdevice to my notebook i've got OOPS which was caused by generic_rndis_bind() probe function. BUG LOG:
...
BUGGY PLACE: generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags)
...
Bug was introduced by following commit: commit 039ee17d1baabaa21783a0d5ab3e8c6d8c794bdf Author: Jussi Kivilinna <jussi.kivilinna@xxxxxxxx> Date: Sun Jan 27 23:34:33 2008 +0200
Thanks for noticing this. Problem is that when rndis_query fails 'phym' pointer is not set. That rndis_query was add for wireless device support, it's known that wired devices may fail that query, and shouldn't fail out from generic_rndis_bind. Correct fix is to either point 'phym' to zero u32 or prevent use when rndis_query fails. I'll send patch very soon.
- Jussi Kivilinna -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html