Re: [PATCH v2 0/5] Drivers: hv: cleanup VMBus messages handling
From: Wei Liu
Date: Thu Apr 09 2020 - 12:43:35 EST
On Mon, Apr 06, 2020 at 12:41:49PM +0200, Vitaly Kuznetsov wrote:
> A small cleanup series mostly aimed at sanitizing memory we pass to
> message handlers: not passing garbage/lefrtovers from other messages
> and making sure we fail early when hypervisor misbehaves.
>
> No (real) functional change intended.
>
> Changes since v1:
> - Check that the payload size specified by the host is <= 240 bytes
> - Add Michael's R-b tags.
>
> Vitaly Kuznetsov (5):
> Drivers: hv: copy from message page only what's needed
> Drivers: hv: allocate the exact needed memory for messages
> Drivers: hv: avoid passing opaque pointer to vmbus_onmessage()
> Drivers: hv: make sure that 'struct vmbus_channel_message_header'
> compiles correctly
> Drivers: hv: check VMBus messages lengths
Queued. Thanks.
Wei.