[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e97b2d3ee72ba8eec5fbae81ce0757806bf25d69.camel@codeconstruct.com.au>
Date: Wed, 24 Nov 2021 14:38:57 +0800
From: Jeremy Kerr <jk@...econstruct.com.au>
To: Jiri Slaby <jirislaby@...nel.org>, netdev@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Matt Johnston <matt@...econstruct.com.au>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH net-next 1/3] mctp: serial: cancel tx work on ldisc close
Hi Jiri,
> > + cancel_work_sync(&dev->tx_work);
>
> But the work still can be queued after the cancel (and before the
> unregister), right?
Yes. Yes it can.
I should be cancelling after the unregister, not before, so this'll need
a v2.
On the ldisc side: is there any case where we'd get a write wakeup
during (or after) the ->close()?
Cheers,
Jeremy
Powered by blists - more mailing lists