RxRPC: Don't call skb_add_data() if there's no data to copy
authorDavid Howells <dhowells@redhat.com>
Wed, 1 Apr 2015 14:48:00 +0000 (15:48 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 1 Apr 2015 14:48:00 +0000 (15:48 +0100)
Don't call skb_add_data() in rxrpc_send_data() if there's no data to copy and
also skip the calculations associated with it in such a case.

Signed-off-by: David Howells <dhowells@redhat.com>
net/rxrpc/ar-output.c

Simple merge