mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
5555ebbbac
In the default event case switchdev_work is being leaked because
nothing is queued for work. Fix this by kfree'ing switchdev_work
before returning NOTIFY_DONE.
Addresses-Coverity: ("Resource leak")
Fixes:
|
||
---|---|---|
.. | ||
ethsw | ||
Kconfig | ||
Makefile |