Files
linux/drivers
Michael S. Tsirkin 00e83abf8e virtio_net: fix PAGE_SIZE > 64k
[ Upstream commit d0fa28f000 ]

I don't have any guests with PAGE_SIZE > 64k but the
code seems to be clearly broken in that case
as PAGE_SIZE / MERGEABLE_BUFFER_ALIGN will need
more than 8 bit and so the code in mergeable_ctx_to_buf_address
does not give us the actual true size.

Cc: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-07-05 14:37:19 +02:00
..
2017-06-17 06:39:36 +02:00
2017-06-17 06:39:38 +02:00
2016-09-24 10:07:35 +02:00
2017-07-05 14:37:19 +02:00
2017-02-23 17:43:10 +01:00
2017-04-21 09:30:07 +02:00