[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130611.024658.1499256804576895449.davem@davemloft.net>
Date: Tue, 11 Jun 2013 02:46:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: mst@...hat.com
Cc: netdev@...r.kernel.org, asias@...hat.com, tt.rantala@...il.com,
kvm@...r.kernel.org, virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net 2/2] vhost: fix ubuf_info cleanup
From: "Michael S. Tsirkin" <mst@...hat.com>
Date: Thu, 6 Jun 2013 15:20:46 +0300
> vhost_net_clear_ubuf_info didn't clear ubuf_info
> after kfree, this could trigger double free.
> Fix this and simplify this code to make it more robust: make sure
> ubuf info is always freed through vhost_net_clear_ubuf_info.
>
> Reported-by: Tommi Rantala <tt.rantala@...il.com>
> Signed-off-by: Michael S. Tsirkin <mst@...hat.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists