[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#655387: [PATCH] usb: cdc_ether: Ignore bogus union descriptor for RNDIS devices

Bjørn Mork <bjorn@mork.no> writes:
> Iker Salmón San Millán <shaola@esdebian.org> writes:
>> Sorry, but didn't work, same dmesg with bad cdc descriptors and usb0
>> interface is not created.
>> I tested with 3.2.0-rc7 kernel.
> OK, thanks for testing.  I must have missed some finer detail somewhere.

Pretty obvious detail:  The next if() will fail since info->control is
NULL and therefore != intf.  

Could be fixed by e.g. setting info->control = intf inside the 
if (rndis) {} section if you have the patience to test yet-another-patch.


Reply to: