pppoatm: optimise PPP channel wakeups after sock_owned_by_user()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Wed, 28 Nov 2012 10:15:05 +0000 (10:15 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 2 Dec 2012 00:05:20 +0000 (00:05 +0000)
commit5b4d72080f49498d2390563aa90f5bc31785406c
tree62da5867de0ff07672d07687adee6ce7bb9388af
parent9eba25268e5862571d53122065616c456fe1142a
pppoatm: optimise PPP channel wakeups after sock_owned_by_user()

We don't need to schedule the wakeup tasklet on *every* unlock; only if we
actually blocked the channel in the first place.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Acked-by: Krzysztof Mazur <krzysiek@podlesie.net>
net/atm/pppoatm.c