Thread (5 messages) 5 messages, 2 authors, 2021-11-23

Re: [PATCH net v2] net: avoid registering new queue objects after device unregistration

flat view

From: Antoine Tenart <atenart@kernel.org>
Date: 2021-11-22 16:56:11

Quoting Jakub Kicinski (2021-11-22 17:31:44)
On Mon, 22 Nov 2021 17:20:07 +0100 Antoine Tenart wrote:
quoted
   veth_set_channels+0x1c3/0x550
   ethnl_set_channels+0x524/0x610
The patch looks fine, but ethtool calls should not happen after
unregister IMHO. Too many drivers would be surprised. 

Maybe we should catch unregistered devices in ethnl_ops_begin()?
That might be good to have indeed, I'll have a look. I'm not sure about
other paths that could do the same: if there are, we might want to keep
the check in this patch as well. Or WARN to catch future misuses?

Thanks!
Antoine
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help