diff options
author | David Howells <dhowells@redhat.com> | 2015-04-01 16:48:00 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2015-04-01 16:48:00 +0200 |
commit | aab94830a7fdf17aac07fea54d4cb43b0ad001b8 (patch) | |
tree | ff11c65eb69d92afe9ac4f265be9c6f64cb864fc /net/rxrpc/ar-connevent.c | |
parent | RxRPC: Fix the conversion to iov_iter (diff) | |
download | linux-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