Am Tuesday 13 January 2009 09:57:12 schrieb Alexey Klimov: > On Tue, Jan 13, 2009 at 11:40 AM, Oliver Neukum <oliver@xxxxxxxxxx> wrote: > > I have to veto this. You are using three different device structures > > to refer to the same device. That will make it next to impossible to > > find out which device originated a message. > > > Ok, i'll reformat patch. Is it okay if i use kaweth->dev->dev, > kaweth->net->dev and intf->dev ? Or switch to kaweth->net->dev > (instead of dev->dev)? kaweth in kaweth_disconnect() frees the network device. Therefore you cannot use it. You'd access freed memory. Pick one of the others and stay with it. Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html