diff options
author | Marek Lindner <mareklindner@neomailbox.ch> | 2018-09-07 05:45:55 +0800 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2018-09-07 08:14:26 +0200 |
commit | 4c4af6900844ab04c9434c972021d7b48610e06a (patch) | |
tree | 29a6de6b545080cd75b59576be49320c91cef869 /arch | |
parent | 5af96b9c59c72fb2af2d19c5cc2f3cdcee391dff (diff) | |
download | linux-4c4af6900844ab04c9434c972021d7b48610e06a.tar.bz2 |
batman-adv: fix hardif_neigh refcount on queue_work() failure
The hardif_neigh refcounter is to be decreased by the queued work and
currently is never decreased if the queue_work() call fails.
Fix by checking the queue_work() return value and decrease refcount
if necessary.
Signed-off-by: Marek Lindner <mareklindner@neomailbox.ch>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions