[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230222083629.335683-1-luwei32@huawei.com>
Date: Wed, 22 Feb 2023 16:36:27 +0800
From: Lu Wei <luwei32@...wei.com>
To: <davem@...emloft.net>, <dsahern@...nel.org>, <edumazet@...gle.com>,
<kuba@...nel.org>, <pabeni@...hat.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH net,v4,0/2] Fix a fib6 info notification bug
This patch set fixes a length calculation bug in fib6 info notification
and adds two testcases.
The test reult is listed as follows:
before the fix patch:
Fib6 info length calculation in route notify test
TEST: ipv6 route add notify [FAIL]
Fib4 info length calculation in route notify test
TEST: ipv4 route add notify [ OK ]
after the fix patch:
Fib6 info length calculation in route notify test
TEST: ipv6 route add notify [ OK ]
Fib4 info length calculation in route notify test
TEST: ipv4 route add notify [ OK ]
Lu Wei (2):
ipv6: Add lwtunnel encap size of all siblings in nexthop calculation
selftests: fib_tests: Add test cases for IPv4/IPv6 in route notify
net/ipv6/route.c | 11 +--
tools/testing/selftests/net/fib_tests.sh | 96 +++++++++++++++++++++++-
2 files changed, 101 insertions(+), 6 deletions(-)
--
2.31.1
Powered by blists - more mailing lists