]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit8e8715aaa905f6593f610f950d513e81fab5006a
tree1c97edf58a373f449bf94ead221dd4bf36881c56
parent4611da30d679a4b0a2c2b5d4d7b3fbbafc922df7
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