[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180630.211840.2037097532737615495.davem@davemloft.net>
Date: Sat, 30 Jun 2018 21:18:40 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: sd@...asysnail.net
Cc: netdev@...r.kernel.org, tobias.regnery@...il.com
Subject: Re: [PATCH net] alx: take rtnl before calling __alx_open from
resume
From: Sabrina Dubroca <sd@...asysnail.net>
Date: Fri, 29 Jun 2018 17:51:26 +0200
> The __alx_open function can be called from ndo_open, which is called
> under RTNL, or from alx_resume, which isn't. Since commit d768319cd427,
> we're calling the netif_set_real_num_{tx,rx}_queues functions, which
> need to be called under RTNL.
>
> This is similar to commit 0c2cc02e571a ("igb: Move the calls to set the
> Tx and Rx queues into igb_open").
>
> Fixes: d768319cd427 ("alx: enable multiple tx queues")
> Signed-off-by: Sabrina Dubroca <sd@...asysnail.net>
Applied and queued up for -stable.
Powered by blists - more mailing lists