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)
commitaab94830a7fdf17aac07fea54d4cb43b0ad001b8
treeff11c65eb69d92afe9ac4f265be9c6f64cb864fc
parent3af6878ecad229346fbc2c8f2663089aa6aef20d
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>
net/rxrpc/ar-output.c
This page took 0.025904 seconds and 5 git commands to generate.