Skip to contentSkip to conversation

Fix a fib6 info notification bug

PATCH Superseded Lu Wei 1 participant 2 messages Feb 16, 2023

Subsystems (2)

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Lu Wei

author
#0 lore raw

v2 cover 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 | 92 +++++++++++++++++++++++-
 2 files changed, 97 insertions(+), 6 deletions(-)
Signature · 1 line
2.31.1
author
#1 lore raw

sorry, please ignore this patch

Quoted 30 lines · Lu Wei

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 | 92 +++++++++++++++++++++++-
  2 files changed, 97 insertions(+), 6 deletions(-)
Signature · 2 lines
Best Regards,
Lu Wei