net: microchip: Fix potential null-ptr-deref due to create_singlethread_workqueue()
Status from this message: This series was applied to netdev/net.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()drivers/ | +3 | 1 reply | Applied |
| 2/2 | net: microchip: sparx5: Fix potential null-ptr-deref in sparx_stats_init() and sparx5_start()drivers/ drivers/ | +6 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Horatiu Vultur |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] net: microchip: Fix potential null-ptr-deref due to create_singlethread_workqueue()
There are some functions call create_singlethread_workqueue() without checking ret value, and the NULL workqueue_struct pointer may causes null-ptr-deref. Will be fixed by this patch.
Shang XiaoJing (2):
net: lan966x: Fix potential null-ptr-deref in lan966x_stats_init()
net: microchip: sparx5: Fix potential null-ptr-deref in
sparx_stats_init() and sparx5_start()
drivers/net/ethernet/microchip/lan966x/lan966x_ethtool.c | 3 +++ drivers/net/ethernet/microchip/sparx5/sparx5_ethtool.c | 3 +++ drivers/net/ethernet/microchip/sparx5/sparx5_main.c | 3 +++ 3 files changed, 9 insertions(+)
Signature · 1 line
2.17.1