]> git.baikalelectronics.ru Git - kernel.git/commit
NFC: Stop sending LLCP frames when tx queues are getting too deep
authorSamuel Ortiz <sameo@linux.intel.com>
Thu, 1 Nov 2012 22:33:00 +0000 (23:33 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 19 Nov 2012 22:57:00 +0000 (23:57 +0100)
commit997514c80cc5fa4df4c1197a697883af1d0f7062
tree8798f1c8c66330e0a2c5f327212e764fdc51a92d
parentbfea188dbafefca2d1901e9fc83f716394a9ed68
NFC: Stop sending LLCP frames when tx queues are getting too deep

When the tx pending queues and/or the socket tx queue is getting too deep,
we have to let userspace know. We won't be queueing any more frames until
the congestion is fixed.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
net/nfc/llcp/commands.c