Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 5c56580 ("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 <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
- Loading branch information