[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161123.202811.693262110451124399.davem@davemloft.net>
Date: Wed, 23 Nov 2016 20:28:11 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: tariqt@...lanox.com
Cc: netdev@...r.kernel.org, eranbe@...lanox.com, saeedm@...lanox.com,
sagi@...mberg.me, bblanco@...mgrid.com
Subject: Re: [PATCH net] net/mlx4_en: Free netdev resources under state lock
From: Tariq Toukan <tariqt@...lanox.com>
Date: Tue, 22 Nov 2016 16:20:39 +0200
> Make sure mlx4_en_free_resources is called under the netdev state lock.
> This is needed since RCU dereference of XDP prog should be protected.
>
> Fixes: 326fe02d1ed6 ("net/mlx4_en: protect ring->xdp_prog with rcu_read_lock")
> Signed-off-by: Tariq Toukan <tariqt@...lanox.com>
> Reported-by: Sagi Grimberg <sagi@...mberg.me>
Applied.
Powered by blists - more mailing lists