Re: [PATCH 1/5] [IrDA] Race between open and disconnect in irda-usb

2007-12-16 Thread David Miller
From: Samuel Ortiz <[EMAIL PROTECTED]> Date: Mon, 17 Dec 2007 00:46:49 +0100 > It seems to me that irda_usb_net_open() must set self->netopen > under spinlock or disconnect() may fail to kill all URBs, if it is called > while an interface is opened. > > From: Oliver Neukum <[EMAIL PROTECTED]> > S

[PATCH 1/5] [IrDA] Race between open and disconnect in irda-usb

2007-12-16 Thread Samuel Ortiz
It seems to me that irda_usb_net_open() must set self->netopen under spinlock or disconnect() may fail to kill all URBs, if it is called while an interface is opened. From: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Samuel Ortiz <[EMAIL PROTEC

[PATCH 1/5] [IrDA] Race between open and disconnect in irda-usb

2007-12-02 Thread Samuel Ortiz
It seems to me that irda_usb_net_open() must set self->netopen under spinlock or disconnect() may fail to kill all URBs, if it is called while an interface is opened. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Samuel Ortiz <[EMAIL PROTECTED]> --- drivers/net/irda/irda-usb.c