]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit294492780409fa13c72266ec6ee0e1072065bea4
tree82dca438a7cf5c9485781bea08e0935198e5e31a
parent098b4e4cc012ed1c3d926bc9ef796640c79afa6a
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