SUNRPC: Simplify TCP receive code
authorTrond Myklebust <trondmy@gmail.com>
Mon, 1 Oct 2018 14:41:53 +0000 (10:41 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 29 Oct 2018 20:58:04 +0000 (16:58 -0400)
commit4c8e5537bb28f0e4b2ca60ecb0ca1ea12b82adf6
tree9a4173c19c3abe86a5078d5aaa03b3586c48ac45
parent1863d77f15da0addcd293a1719fa5d3ef8cde3ca
SUNRPC: Simplify TCP receive code

Use the fact that the iov iterators already have functionality for
skipping a base offset.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/svcsock.c