The tag, GregKH-20100216 has been created at 2f51b1c529d9f3d5654e41e6e08b8ba769e786f7 (commit)
- Shortlog ------------------------------------------------------------ commit 2f51b1c529d9f3d5654e41e6e08b8ba769e786f7 Author: Simon Wunderlich siwu@hrz.tu-chemnitz.de Date: Fri Jan 1 20:09:34 2010 +0000
Staging: batman-adv: fix unlock, make code sparse clean
If the skb failed to copy in the (batman) icmp receive handlers, the function returned without unlocking the orig_hash_lock first. To prevent this, the fields needed from the orig_node are now copied, and the copies are used for sending (just like in other handlers).
Furthermore, find_batman_if() was declared static. The code now appears to be clean in 'sparse' [1].
Thanks to Andrew Lunn for pointing that out.
[1] http://sparse.wiki.kernel.org/index.php/Main_Page
Signed-off-by: Simon Wunderlich siwu@hrz.tu-chemnitz.de -----------------------------------------------------------------------