diff options
| author | 2023-10-10 21:48:57 +0900 | |
|---|---|---|
| committer | 2023-10-12 11:22:21 +0200 | |
| commit | 510b18cf23b9bd8a982ef7f1fb19f3968a2bf787 (patch) | |
| tree | 38ae3d0f83dd5dff2c8d14ade1b57f3f0b7425d8 /rust/kernel/ssh:/git@git.zx2c4.com/git: | |
| parent | octeontx2-pf: Fix page pool frag allocation warning (diff) | |
rswitch: Fix renesas_eth_sw_remove() implementation
Fix functions calling order and a condition in renesas_eth_sw_remove().
Otherwise, kernel NULL pointer dereference happens from phy_stop() if
a net device opens.
Fixes: 3590918b5d07 ("net: ethernet: renesas: Add support for "Ethernet Switch"")
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
