diff options
author | Antoine Tenart <atenart@kernel.org> | 2021-12-07 15:57:25 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-12-08 18:36:32 -0800 |
commit | 5f1c802ca69b3c076eea5fabc8839ffa5ddd8c8f (patch) | |
tree | e4421fe74b44f5c583dd69caf540a4436fd23304 /net/core/gro.c | |
parent | d7dac083414eb5bb99a6d2ed53dc2c1b405224e5 (diff) | |
download | linux-rt-5f1c802ca69b3c076eea5fabc8839ffa5ddd8c8f.tar.gz |
net-sysfs: warn if new queue objects are being created during device unregistration
Calling netdev_queue_update_kobjects is allowed during device
unregistration since commit 5c56580b74e5 ("net: Adjust TX queue kobjects
if number of queues changes during unregister"). But this is solely to
allow queue unregistrations. Any path attempting to add new queues after
a device started its unregistration should be fixed.
This patch adds a warning to detect such illegal use.
Signed-off-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/gro.c')
0 files changed, 0 insertions, 0 deletions