linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: [PATCH net v1] net: wwan: iosm: Remove unneeded if_mutex lock
       [not found] <20221101055033.47837-1-zhaoping.shu@mediatek.com>
@ 2022-11-03 13:34 ` Kumar, M Chetan
  0 siblings, 0 replies; only message in thread
From: Kumar, M Chetan @ 2022-11-03 13:34 UTC (permalink / raw)
  To: zhaoping.shu, linuxwwan, loic.poulain, ryazanov.s.a, johannes,
	davem, edumazet, kuba, pabeni, matthias.bgg
  Cc: netdev, linux-kernel, linux-arm-kernel, linux-mediatek, Liu,
	Haijun, xiayu.zhang, lambert.wang

> -----Original Message-----
> From: zhaoping.shu@mediatek.com <zhaoping.shu@mediatek.com>
> Sent: Tuesday, November 1, 2022 11:21 AM
> To: Kumar, M Chetan <m.chetan.kumar@intel.com>; linuxwwan
> <linuxwwan@intel.com>; loic.poulain@linaro.org; ryazanov.s.a@gmail.com;
> johannes@sipsolutions.net; davem@davemloft.net; edumazet@google.com;
> kuba@kernel.org; pabeni@redhat.com; matthias.bgg@gmail.com
> Cc: netdev@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm-
> kernel@lists.infradead.org; linux-mediatek@lists.infradead.org; Liu, Haijun
> <haijun.liu@mediatek.com>; xiayu.zhang@mediatek.com;
> lambert.wang@mediatek.com; zhaoping.shu
> <zhaoping.shu@mediatek.com>
> Subject: [PATCH net v1] net: wwan: iosm: Remove unneeded if_mutex lock
> 
> From: "zhaoping.shu" <zhaoping.shu@mediatek.com>
> 
> These WWAN network interface operations (create/delete/open/close) are
> already protected by RTNL lock, i.e., wwan_ops.newlink(),
> wwan_ops.dellink(), net_device_ops.ndo_open() and net_device.ndo_stop()
> are called with RTNL lock held.
> Therefore, this patch removes the unnecessary if_mutex.
> 
> Signed-off-by: zhaoping.shu <zhaoping.shu@mediatek.com>

Reviewed-by: M Chetan Kumar <m.chetan.kumar@intel.com>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-03 13:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20221101055033.47837-1-zhaoping.shu@mediatek.com>
2022-11-03 13:34 ` [PATCH net v1] net: wwan: iosm: Remove unneeded if_mutex lock Kumar, M Chetan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).