]> 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)
commitc9d3972695bfe6051d38867cefca6533c3d0b55e
tree32069c04502f2fd60c07f0a4615c53245dae96bc
parenta25b51c384e92a44fe7cc0884c25b23cb5a6550b
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