[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 goto efault; 641 sp->remain -= copy; 642 skb->mark += copy; 643 644 len -= copy; 645 segment -= copy; ··· 710 711 } while (segment > 0); 712 713 out: 714 call->tx_pending = skb; 715 _leave(" = %d", ret); ··· 728 729 maybe_error: 730 if (copied) 731 - ret = copied; 732 goto out; 733 734 efault:
··· 640 goto efault; 641 sp->remain -= copy; 642 skb->mark += copy; 643 + copied += copy; 644 645 len -= copy; 646 segment -= copy; ··· 709 710 } while (segment > 0); 711 712 + success: 713 + ret = copied; 714 out: 715 call->tx_pending = skb; 716 _leave(" = %d", ret); ··· 725 726 maybe_error: 727 if (copied) 728 + goto success; 729 goto out; 730 731 efault: