diff --git a/net/sunrpc/svcsock.c b/net/sunrpc/svcsock.c index d5805fa1d0660871fe197b45d84b87daafa8f624..c2752e2b9ce34ec3b0964fd79d18ce6080bd8855 100644 --- a/net/sunrpc/svcsock.c +++ b/net/sunrpc/svcsock.c @@ -228,7 +228,7 @@ static int svc_one_sock_name(struct svc_sock *svsk, char *buf, int remaining) static void svc_flush_bvec(const struct bio_vec *bvec, size_t size, size_t seek) { struct bvec_iter bi = { - .bi_size = size, + .bi_size = size + seek, }; struct bio_vec bv;