commit | 4c4af6900844ab04c9434c972021d7b48610e06a | [log] [tgz] |
---|---|---|
author | Marek Lindner <mareklindner@neomailbox.ch> | Fri Sep 07 05:45:55 2018 +0800 |
committer | Simon Wunderlich <sw@simonwunderlich.de> | Fri Sep 07 08:14:26 2018 +0200 |
tree | 29a6de6b545080cd75b59576be49320c91cef869 | |
parent | 5af96b9c59c72fb2af2d19c5cc2f3cdcee391dff [diff] |
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>