]> nv-tegra.nvidia Code Review - linux-2.6.git/commit
Phonet: fix accounting race between gprs_writeable() and gprs_xmit()
authorRémi Denis-Courmont <remi.denis-courmont@nokia.com>
Mon, 1 Jun 2009 00:35:16 +0000 (00:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2009 07:17:43 +0000 (00:17 -0700)
commitbbd5898d39ab9f855c732f6f07e40e95b05cf52a
tree383f8dc9aa4727269693d1442c83dd780161c177
parentc930a66220bac0815cca74eef94ada221377ffba
Phonet: fix accounting race between gprs_writeable() and gprs_xmit()

In the unlikely event that gprs_writeable() and gprs_xmit() check for
writeability at the same, we could stop the device queue forever.

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/phonet/pep-gprs.c