]> git.baikalelectronics.ru Git - kernel.git/commit
rxrpc: Allow errors to be returned from rxrpc_queue_packet()
authorMarc Dionne <marc.dionne@auristor.com>
Fri, 12 Apr 2019 15:33:54 +0000 (16:33 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2019 23:57:23 +0000 (16:57 -0700)
commit0e31273002caa8221038bec24eceba8b56c516b9
tree1c97edf58a373f449bf94ead221dd4bf36881c56
parent727190022104a2cdd91abaea26a7aed05c60eaa1
rxrpc: Allow errors to be returned from rxrpc_queue_packet()

Change rxrpc_queue_packet()'s signature so that it can return any error
code it may encounter when trying to send the packet.

This allows the caller to eventually do something in case of error - though
it should be noted that the packet has been queued and a resend is
scheduled.

Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rxrpc/sendmsg.c