Re: [USB boot crash, -git] ecm_do_notify(), list_add corruption. prev->next should be next (ffff88003b8f82f8)

From: David Brownell
Date: Fri Jul 25 2008 - 21:18:56 EST


On Thursday 24 July 2008, Alan Stern wrote:
> I think I see the problem.  Starting at line 533, we have:
>
>        ...
>
> The list_add_tail() gets called at the wrong time if the completion
> routine resubmits.  It should look more like this:
>
>       ...
>
> Can you make the necessary change and try it out?

It behaved for me, no BUG() ... I'll clean it up and send along a patch.

- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/