diff options
author | Marek Lindner <mareklindner@neomailbox.ch> | 2018-09-07 00:45:54 +0300 |
---|---|---|
committer | Simon Wunderlich <sw@simonwunderlich.de> | 2018-09-07 09:14:26 +0300 |
commit | 5af96b9c59c72fb2af2d19c5cc2f3cdcee391dff (patch) | |
tree | d592b0145aeacf2904f929d8d5acd07553c23c15 /net/batman-adv/bat_v_elp.c | |
parent | ae3cdc97dc10c7a3b31f297dab429bfb774c9ccb (diff) | |
download | linux-5af96b9c59c72fb2af2d19c5cc2f3cdcee391dff.tar.xz |
batman-adv: fix backbone_gw refcount on queue_work() failure
The backbone_gw 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 'net/batman-adv/bat_v_elp.c')
0 files changed, 0 insertions, 0 deletions