nexthop: Fix two nexthop group statistics issues
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest4 patches 5 repliesApplied 4/4
- v12 patches 6 repliesSuperseded
Changes in v2 from the cover letter
* Only parse NHA_OP_FLAGS for messages that require it (patches #1-#2 are new)
* Resize 'tb' using ARRAY_SIZE (new change in patch #3)
Patches in v2 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | nexthop: Only parse NHA_OP_FLAGS for get messages that require itnet/ | +8 | 1 reply | Applied |
| 2/4 | nexthop: Only parse NHA_OP_FLAGS for dump messages that require itnet/ | +5 | 1 reply | Applied |
| 3/4 | nexthop: Fix out-of-bounds access during attribute validationnet/ tools/ | +23 | 2 replies | Applied |
| 4/4 | nexthop: Fix splat with CONFIG_DEBUG_PREEMPT=ynet/ | +2 | 1 reply | Applied |
Reviews trailers per patch
All 4 patches have a Reviewed-by or Acked-by.
| Patch | David Ahern |
|---|---|
| 1/4 | R-b |
| 2/4 | R-b |
| 3/4 | R-b |
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/4] nexthop: Fix two nexthop group statistics issues
Fix two issues that were introduced as part of the recent nexthop group statistics submission. See the commit messages for more details.
v2:
* Only parse NHA_OP_FLAGS for messages that require it (patches #1-#2 are new)
* Resize 'tb' using ARRAY_SIZE (new change in patch #3)
Ido Schimmel (4):
nexthop: Only parse NHA_OP_FLAGS for get messages that require it
nexthop: Only parse NHA_OP_FLAGS for dump messages that require it
nexthop: Fix out-of-bounds access during attribute validation
nexthop: Fix splat with CONFIG_DEBUG_PREEMPT=y
net/ipv4/nexthop.c | 58 ++++++++++++--------- tools/testing/selftests/net/fib_nexthops.sh | 6 +++ 2 files changed, 38 insertions(+), 26 deletions(-)
Signature · 1 line
2.43.0