slcan: Port write_wakeup deadlock fix from slip
authorTyler Hall <tylerwhall@gmail.com>
Mon, 16 Jun 2014 02:23:17 +0000 (22:23 -0400)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jun 2014 04:29:13 +0000 (21:29 -0700)
The commit "slip: Fix deadlock in write_wakeup" fixes a deadlock caused
by a change made in both slcan and slip. This is a direct port of that
fix.

Signed-off-by: Tyler Hall <tylerwhall@gmail.com>
Cc: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: Andre Naujoks <nautsch2@gmail.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/slcan.c

Simple merge