On Thu, 27 Sep 2001, Nemosoft Unv. wrote:
> > list_del (p);
> > p = p->next;
> > delete_desc (s, desc);
> Personally, I say the above piece of code is faulty. Refering to a
> pointer after you appearently deleted it, is just very bad programming
> practice.
yep. this is one reason why the 2.4.10 kernel clears the ->next and ->prev
pointers in list_del() - the above code will break immediately.
Ingo
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel