]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Abstract out the calculation of whether there's Tx space
authorDavid Howells <dhowells@redhat.com>
Fri, 13 Mar 2020 09:05:38 +0000 (09:05 +0000)
committerDavid Howells <dhowells@redhat.com>
Fri, 13 Mar 2020 23:04:28 +0000 (23:04 +0000)
commitbc511d730a785ae7dbbfb5a38eddc47794e2a79e
tree32069c04502f2fd60c07f0a4615c53245dae96bc
parent50a7fa23e4b36ea6312641faf6524945f5ff726a
rxrpc: Abstract out the calculation of whether there's Tx space

Abstract out the calculation of there being sufficient Tx buffer space.
This is reproduced several times in the rxrpc sendmsg code.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/sendmsg.c