netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] nexthop: Fix two nexthop group statistics issues
@ 2024-03-11 16:23 Ido Schimmel
  2024-03-11 16:23 ` [PATCH net-next v2 1/4] nexthop: Only parse NHA_OP_FLAGS for get messages that require it Ido Schimmel
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Ido Schimmel @ 2024-03-11 16:23 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, pabeni, edumazet, petrm, dsahern, Ido Schimmel

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(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2024-03-13  7:58 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-11 16:23 [PATCH net-next v2 0/4] nexthop: Fix two nexthop group statistics issues Ido Schimmel
2024-03-11 16:23 ` [PATCH net-next v2 1/4] nexthop: Only parse NHA_OP_FLAGS for get messages that require it Ido Schimmel
2024-03-12  3:26   ` David Ahern
2024-03-11 16:23 ` [PATCH net-next v2 2/4] nexthop: Only parse NHA_OP_FLAGS for dump " Ido Schimmel
2024-03-12  3:26   ` David Ahern
2024-03-11 16:23 ` [PATCH net-next v2 3/4] nexthop: Fix out-of-bounds access during attribute validation Ido Schimmel
2024-03-12  3:28   ` David Ahern
2024-03-13  7:58     ` Ido Schimmel
2024-03-11 16:23 ` [PATCH net-next v2 4/4] nexthop: Fix splat with CONFIG_DEBUG_PREEMPT=y Ido Schimmel
2024-03-12  3:28   ` David Ahern
2024-03-12  3:40 ` [PATCH net-next v2 0/4] nexthop: Fix two nexthop group statistics issues patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).