diff options
author | Simon Wunderlich <siwu@hrz.tu-chemnitz.de> | 2010-02-19 16:18:05 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-03-03 16:43:02 -0800 |
commit | eb50081d8fb76d5de9d65628d7f41977ece7044b (patch) | |
tree | 027e1ac8c400ad402a871e68df7ab00e04a292d4 /drivers/message | |
parent | 0fce64362d4f2144586e3ffcff6f259bf8abc2f8 (diff) |
Staging: batman-adv: don't lock while sending packets
As in other parts of batman-adv, we should not lock while sending a packet but
keep the lock held for as short as possible. Additionally, we should check
whether the interface is active, otherwise batman_if->net_dev might not be
available ...
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Acked-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions