From: Andrew Lunn Date: Mon, 22 Mar 2010 21:46:13 +0000 (+0100) Subject: Staging: batman-adv: don't have interrupts disabled while sending. X-Git-Tag: v2.6.35-rc1~441^2^2~300 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=107c32fe68f0b64acb7edd31d44d79b87c7fa8b4;p=pandora-kernel.git Staging: batman-adv: don't have interrupts disabled while sending. send_vis_packets() would disable interrupts before calling dev_queue_xmit() which resulting in a backtrace in local_bh_enable(). Fix this by using kref on the vis_info object so that we can call send_vis_packets() without holding vis_hash_lock. vis_hash_lock also used to protect recv_list, so we now need a new lock to protect that instead of vis_hash_lock. Also a few checkpatch cleanups. Reported-by: Linus Lüssing Signed-off-by: Andrew Lunn Signed-off-by: Marek Lindner Signed-off-by: Simon Wunderlich Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed