]> git.baikalelectronics.ru Git - kernel.git/commit
net: qrtr: Move resume-tx transmission to recvmsg
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 14 Jan 2020 07:56:59 +0000 (23:56 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2020 02:36:26 +0000 (18:36 -0800)
commit1f01c9864921b530a5285c3290909a6b814a93cc
treed0afcf9eeb13fc10c559664e513ecd8630ff4207
parent07358f99cac141056e8147257eedd2e384e6b207
net: qrtr: Move resume-tx transmission to recvmsg

The confirm-rx bit is used to implement a per port flow control, in
order to make sure that no messages are dropped due to resource
exhaustion. Move the resume-tx transmission to recvmsg to only confirm
messages as they are consumed by the application.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/qrtr/qrtr.c