[prev in list] [next in list] [prev in thread] [next in thread]
List: drbd-dev
Subject: Re: [Drbd-dev] [PATCH] drbd: swap bvec_set_page len and offset
From: Jens Axboe <axboe () kernel ! dk>
Date: 2023-09-06 13:33:18
Message-ID: 169400719806.700937.1715411703006180940.b4-ty () kernel ! dk
[Download RAW message or body]
On Wed, 06 Sep 2023 15:30:34 +0200, Christoph Böhmwalder wrote:
> bvec_set_page has the following signature:
>
> static inline void bvec_set_page(struct bio_vec *bv, struct page *page,
> unsigned int len, unsigned int offset)
>
> However, the usage in DRBD swaps the len and offset parameters. This
> leads to a bvec with length=0 instead of the intended length=4096, which
> causes sock_sendmsg to return -EIO.
>
> [...]
Applied, thanks!
[1/1] drbd: swap bvec_set_page len and offset
commit: 4b9c2edaf7282d60e069551b4b28abc2932cd3e3
Best regards,
--
Jens Axboe
_______________________________________________
drbd-dev mailing list
drbd-dev@lists.linbit.com
https://lists.linbit.com/mailman/listinfo/drbd-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic