public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net,v4,0/2] Fix a fib6 info notification bug
@ 2023-02-22  8:36 Lu Wei
  2023-02-22  8:36 ` [PATCH net,v4,1/2] ipv6: Add lwtunnel encap size of all siblings in nexthop calculation Lu Wei
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Lu Wei @ 2023-02-22  8:36 UTC (permalink / raw)
  To: davem, dsahern, edumazet, kuba, pabeni, netdev, linux-kernel

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


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

end of thread, other threads:[~2023-02-23 10:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22  8:36 [PATCH net,v4,0/2] Fix a fib6 info notification bug Lu Wei
2023-02-22  8:36 ` [PATCH net,v4,1/2] ipv6: Add lwtunnel encap size of all siblings in nexthop calculation Lu Wei
2023-02-22 15:20   ` David Ahern
2023-02-22  8:36 ` [PATCH net,v4,2/2] selftests: fib_tests: Add test cases for IPv4/IPv6 in route notify Lu Wei
2023-02-22 15:21   ` David Ahern
2023-02-23 10:10 ` [PATCH net,v4,0/2] Fix a fib6 info notification bug 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