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)
commitcb6530b99fafea6c0636c4640bd21301d12cdbc9
treed0afcf9eeb13fc10c559664e513ecd8630ff4207
parent7786a1af2a6bceb07860ec720e74714004438834
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