summaryrefslogtreecommitdiffstats
path: root/drivers/net/wan/cosa.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2009-12-02 07:13:38 +0100
committerDavid S. Miller <davem@davemloft.net>2009-12-02 07:13:38 +0100
commitff9c38bba37937adb909cceb2a6521f2e92e17c6 (patch)
tree93bd6152d9fa28348be99ef1c788040cc7b7a94d /drivers/net/wan/cosa.c
parentnet: remove [un]register_pernet_gen_... and update the docs. (diff)
parentip_fragment: also adjust skb->truesize for packets not owned by a socket (diff)
downloadlinux-ff9c38bba37937adb909cceb2a6521f2e92e17c6.tar.xz
linux-ff9c38bba37937adb909cceb2a6521f2e92e17c6.zip
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: net/mac80211/ht.c
Diffstat (limited to 'drivers/net/wan/cosa.c')
-rw-r--r--drivers/net/wan/cosa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wan/cosa.c b/drivers/net/wan/cosa.c
index cd8f04afed8f..b36bf96eb502 100644
--- a/drivers/net/wan/cosa.c
+++ b/drivers/net/wan/cosa.c
@@ -907,6 +907,7 @@ static ssize_t cosa_write(struct file *file,
current->state = TASK_RUNNING;
chan->tx_status = 1;
spin_unlock_irqrestore(&cosa->lock, flags);
+ up(&chan->wsem);
return -ERESTARTSYS;
}
}