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)
commita8e83b17536aad603fbeae4c460f2da0ee9fe6ed
treee458410dbe200d0bc843771fa94084c45b08ab97
parent661f7fda21b15ec52f57fcd397c03370acc28688
slcan: Port write_wakeup deadlock fix from slip

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