rxrpc: Move the check of rx_pkt_offset from rxrpc_locate_data() to caller
authorDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 09:49:11 +0000 (10:49 +0100)
committerDavid Howells <dhowells@redhat.com>
Sat, 17 Sep 2016 09:50:48 +0000 (10:50 +0100)
commit4b22457c06a3a950e14938c486283ad0f308c13d
tree82dca438a7cf5c9485781bea08e0935198e5e31a
parentfabf9201806255d70386d8bc9f6a2942c0940da2
rxrpc: Move the check of rx_pkt_offset from rxrpc_locate_data() to caller

Move the check of rx_pkt_offset from rxrpc_locate_data() to the caller,
rxrpc_recvmsg_data(), so that it's more clear what's going on there.

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