Skip to content
Commit aab94830 authored by David Howells's avatar David Howells
Browse files

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: default avatarDavid Howells <dhowells@redhat.com>
parent 3af6878e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment