check return value of rhashtable_init in mlx5e, ipv6, mac80211
Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest3 patches 2 repliesApplied 3/3
- v3 posting 2/23 patches 2 repliesSuperseded
- v3 posting 1/23 patches 0 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 1 reply | Superseded | |
| v1 | 1 patch | 1 reply | Superseded |
Changes in v4 from the cover letter
- fix newly created warnings due to patches in net/ipv6/seg6.c
Patches in v4 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net/mlx5e: check return value of rhashtable_initdrivers/ | +11 | 1 reply | Applied |
| 2/3 | net: ipv6: check return value of rhashtable_initnet/ net/ net/ | +12 | 1 reply | Applied |
| 3/3 | net: mac80211: check return value of rhashtable_initnet/ | +4 | 0 replies | Applied |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern | Roi Dayan |
|---|---|---|
| 1/3 | R-b | |
| 2/3 | R-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v4 0/3] check return value of rhashtable_init in mlx5e, ipv6, mac80211
When rhashtable_init() fails, it returns -EINVAL. However, since error return value of rhashtable_init is not checked, it can cause use of uninitialized pointers.
So, fix unhandled errors of rhashtable_init.
The three patches are essentially the same logic.
v1->v2:
- change commit message
- fix possible memory leaksv2->v3:
- split patch into mlx5e, ipv6, mac80211v3->v4:
- fix newly created warnings due to patches in net/ipv6/seg6.c
MichelleJin (3):
net/mlx5e: check return value of rhashtable_init
net: ipv6: check return value of rhashtable_init
net: mac80211: check return value of rhashtable_init
drivers/net/ethernet/mellanox/mlx5/core/en/tc_ct.c | 14 +++++++++++--- net/ipv6/ila/ila_xlat.c | 6 +++++- net/ipv6/seg6.c | 8 ++++++-- net/ipv6/seg6_hmac.c | 4 +--- net/mac80211/mesh_pathtbl.c | 5 ++++- 5 files changed, 27 insertions(+), 10 deletions(-)
Signature · 1 line
2.25.1