summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/ar-connevent.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2015-04-01 16:48:00 +0200
committerDavid Howells <dhowells@redhat.com>2015-04-01 16:48:00 +0200
commitaab94830a7fdf17aac07fea54d4cb43b0ad001b8 (patch)
treeff11c65eb69d92afe9ac4f265be9c6f64cb864fc /net/rxrpc/ar-connevent.c
parentRxRPC: Fix the conversion to iov_iter (diff)
downloadlinux-aab94830a7fdf17aac07fea54d4cb43b0ad001b8.tar.xz
linux-aab94830a7fdf17aac07fea54d4cb43b0ad001b8.zip
RxRPC: Don't call skb_add_data() if there's no data to copy
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>
Diffstat (limited to 'net/rxrpc/ar-connevent.c')
0 files changed, 0 insertions, 0 deletions