[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAJ3xEMhnEGxAhwBcW4DpLGO9zgR2JymRWHJ-WiJOx1S5+iwFGw@mail.gmail.com>
Date: Tue, 2 Jun 2015 10:25:42 +0300
From: Or Gerlitz <gerlitz.or@...il.com>
To: clsoto@...ux.vnet.ibm.com
Cc: David Miller <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>,
Amir Vadai <amirv@...lanox.com>,
Jack Morgenstein <jackm@...lanox.com>,
brking@...ux.vnet.ibm.com
Subject: Re: [PATCH net] net/mlx4: double free of dev_vfs
On Mon, Jun 1, 2015 at 5:41 PM, <clsoto@...ux.vnet.ibm.com> wrote:
> --- a/drivers/net/ethernet/mellanox/mlx4/main.c
> +++ b/drivers/net/ethernet/mellanox/mlx4/main.c
> @@ -2685,6 +2685,7 @@ disable_sriov:
> free_mem:
> dev->persist->num_vfs = 0;
> kfree(dev->dev_vfs);
> + dev->dev_vfs = NULL;
> return dev_flags & ~MLX4_FLAG_MASTER;
> }
Acked-by: Or Gerlitz <ogerlitz@...lanox.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists