The following commit has been merged in the master branch: commit d3f451a65b7db2baca800ccf7385fae1ad26b2b7 Author: simon simon@45894c77-fb22-0410-b583-ff6e7d5dbf6c Date: Sat Nov 7 14:04:18 2009 +0000
unlock in bat_device_add_packet() before returning (thanks Sven)
git-svn-id: http://downloads.open-mesh.net/svn/batman/trunk/batman-adv-kernelland@1471 45894c77-fb22-0410-b583-ff6e7d5dbf6c
diff --git a/device.c b/device.c index 45bc1f8..1e7d1f8 100644 --- a/device.c +++ b/device.c @@ -306,6 +306,7 @@ void bat_device_add_packet(struct device_client *device_client, /* 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; }