commit 5555ebbbac822b4fa28db2be15aaf98b3c21af26 upstream.
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:
|
||
---|---|---|
.. | ||
ethernet | ||
ethsw | ||
rtc | ||
Kconfig | ||
Makefile |