[AF_RXRPC]: Return the number of bytes buffered in rxrpc_send_data()

Return the number of bytes buffered in rxrpc_send_data().

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by David Howells and committed by David S. Miller 19e6454c cc0191ae

+4 -1
+4 -1
net/rxrpc/ar-output.c
··· 640 640 goto efault; 641 641 sp->remain -= copy; 642 642 skb->mark += copy; 643 + copied += copy; 643 644 644 645 len -= copy; 645 646 segment -= copy; ··· 710 709 711 710 } while (segment > 0); 712 711 712 + success: 713 + ret = copied; 713 714 out: 714 715 call->tx_pending = skb; 715 716 _leave(" = %d", ret); ··· 728 725 729 726 maybe_error: 730 727 if (copied) 731 - ret = copied; 728 + goto success; 732 729 goto out; 733 730 734 731 efault: