[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180917083707.5c0e3ff0@xeon-e3>
Date: Mon, 17 Sep 2018 08:37:07 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Mahesh Bandewar <mahesh@...dewar.net>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH iproute2] libnetlink: fix leak and using unused memory
on error
On Thu, 13 Sep 2018 12:33:38 -0700
Stephen Hemminger <stephen@...workplumber.org> 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 <mahesh@...dewar.net>
> Fixes: 7b2ee50c0cd5 ("hv_netvsc: common detach logic")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Bad habit of working on two projects as once.
Powered by blists - more mailing lists