[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240311162307.545385-1-idosch@nvidia.com>
Date: Mon, 11 Mar 2024 18:23:03 +0200
From: Ido Schimmel <idosch@...dia.com>
To: <netdev@...r.kernel.org>
CC: <davem@...emloft.net>, <kuba@...nel.org>, <pabeni@...hat.com>,
<edumazet@...gle.com>, <petrm@...dia.com>, <dsahern@...nel.org>, Ido Schimmel
<idosch@...dia.com>
Subject: [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(-)
--
2.43.0
Powered by blists - more mailing lists