Author: simon Date: 2009-11-07 14:04:18 +0000 (Sat, 07 Nov 2009) New Revision: 1471
Modified: trunk/batman-adv-kernelland/device.c Log: unlock in bat_device_add_packet() before returning (thanks Sven)
Modified: trunk/batman-adv-kernelland/device.c =================================================================== --- trunk/batman-adv-kernelland/device.c 2009-11-07 13:50:40 UTC (rev 1470) +++ trunk/batman-adv-kernelland/device.c 2009-11-07 14:04:18 UTC (rev 1471) @@ -306,6 +306,7 @@ /* while waiting for the lock the device_client could have been * deleted */ if (!device_client_hash[icmp_packet->uid]) { + spin_unlock(&device_client->lock); kfree(device_packet); return; }