Subject: Re: [PATCH iproute2] libnetlink: fix leak and using unused memory on error

From: Stephen Hemminger <[email-masked]>
Date: Mon, 17 Sep 2018 08:37:07 -0700

On Thu, 13 Sep 2018 12:33:38 -0700
Stephen Hemminger <[email-masked]> wrote:

> If an error happens in multi-segment message (tc only)
> then report the error and stop processing further responses.
> This also fixes refering to the buffer after free.
> 
> The sequence check is not necessary here because the
> response message has already been validated to be in
> the window of the sequence number of the iov.
> 
> Reported-by: Mahesh Bandewar <[email-masked]>
> Fixes: 7b2ee50c0cd5 ("hv_netvsc: common detach logic")
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Bad habit of working on two projects as once.