Author: marek Date: 2010-01-19 01:34:45 +0100 (Tue, 19 Jan 2010) New Revision: 1554
Modified: trunk/batman-adv-kernelland/gateway_client.c Log: batman-adv: add missing rcu unlock
The gw_node_update() was missing an unlock in case the gw node already existed. Thanks to Andrew Lunn for pointing this out.
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
Modified: trunk/batman-adv-kernelland/gateway_client.c =================================================================== --- trunk/batman-adv-kernelland/gateway_client.c 2010-01-18 23:28:04 UTC (rev 1553) +++ trunk/batman-adv-kernelland/gateway_client.c 2010-01-19 00:34:45 UTC (rev 1554) @@ -250,6 +250,7 @@ gw_deselect(); }
+ rcu_read_unlock(); return; } rcu_read_unlock();