mirror-linux/drivers/net/ethernet/renesas
Kory Maincent b95102215a net: sh_eth: Fix missing rtnl lock in suspend/resume path
Fix the suspend/resume path by ensuring the rtnl lock is held where
required. Calls to sh_eth_close, sh_eth_open and wol operations must be
performed under the rtnl lock to prevent conflicts with ongoing ndo
operations.

Fixes: b71af04676 ("sh_eth: add more PM methods")
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-01-30 11:23:01 +01:00
..
Kconfig net: ethernet: rtsn: Add support for Renesas Ethernet-TSN 2024-06-21 12:24:54 +01:00
Makefile net: ethernet: rtsn: Add support for Renesas Ethernet-TSN 2024-06-21 12:24:54 +01:00
ravb.h net: ravb: Add VLAN checksum support 2024-10-17 21:24:25 -05:00
ravb_main.c net: ravb: Fix missing rtnl lock in suspend/resume path 2025-01-30 11:23:01 +01:00
ravb_ptp.c
rcar_gen4_ptp.c net: ethernet: renesas: rcar_gen4_ptp: Break out to module 2023-11-23 12:02:49 +01:00
rcar_gen4_ptp.h net: ethernet: renesas: rcar_gen4_ptp: Get clock increment from clock rate 2023-11-23 12:02:49 +01:00
rswitch.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-12-19 11:35:07 -08:00
rswitch.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2024-12-19 11:35:07 -08:00
rtsn.c net: ethernet: rtsn: fix potential memory leak in rtsn_start_xmit() 2024-10-15 10:59:29 -07:00
rtsn.h net: ethernet: rtsn: Add support for Renesas Ethernet-TSN 2024-06-21 12:24:54 +01:00
sh_eth.c net: sh_eth: Fix missing rtnl lock in suspend/resume path 2025-01-30 11:23:01 +01:00
sh_eth.h