Author: simon Date: 2010-01-19 00:17:04 +0100 (Tue, 19 Jan 2010) New Revision: 1552
Modified: trunk/batman-adv-kernelland/routing.c Log: batman-adv: Fix a wrong lock (should be unlock)
Signed-off-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de
Modified: trunk/batman-adv-kernelland/routing.c =================================================================== --- trunk/batman-adv-kernelland/routing.c 2010-01-17 20:33:37 UTC (rev 1551) +++ trunk/batman-adv-kernelland/routing.c 2010-01-18 23:17:04 UTC (rev 1552) @@ -1015,7 +1015,7 @@ router = find_router(orig_node);
if (!router) { - spin_lock_irqsave(&orig_hash_lock, flags); + spin_unlock_irqrestore(&orig_hash_lock, flags); return NET_RX_DROP; }