]> git.baikalelectronics.ru Git - kernel.git/commit
batman-adv: Only increase refcounter once for alternate router
authorSven Eckelmann <sven@narfation.org>
Mon, 20 Aug 2012 08:26:49 +0000 (10:26 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 29 Oct 2012 08:42:38 +0000 (09:42 +0100)
commit14336e9f9ddf55964ce81d0b5fe3ee256c4af5d2
tree2b1ccaecbee36f0a323fa65d6a40e969516a5822
parentbbd324a9ecb503d9617a8888ba88728b05242d2d
batman-adv: Only increase refcounter once for alternate router

The test whether we can use a router for alternating bonding should only be
done once because it is already known that it is still usable and will not be
deleted from the list soon.

This patch addresses Coverity #712285: Unchecked return value

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/routing.c