batman-adv: Check return value of try_module_get
authorSven Eckelmann <sven@narfation.org>
Mon, 20 Aug 2012 21:37:26 +0000 (23:37 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Mon, 29 Oct 2012 08:42:36 +0000 (09:42 +0100)
New operations should not be started when they need an increased module
reference counter and try_module_get failed.

This patch addresses Coverity #712284: Unchecked return value

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

Simple merge
Simple merge
Simple merge
Simple merge