root@ubuntu2004:~/linux# uname -a
Linux ubuntu2004 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu2004:~/linux# tools/testing/selftests/net/fib_nexthop_nongw.sh
TEST: nexthop: get route with nexthop without gw [FAIL]
TEST: nexthop: ping through nexthop without gw [FAIL]
With the new focal kernel:
++++++++++++++++++++++++++
root@ubuntu2004:~/linux# uname -a
Linux ubuntu2004 5.4.0-128-generic #144-Ubuntu SMP Tue Sep 20 11:00:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu2004:~/linux# tools/testing/selftests/net/fib_nexthop_nongw.sh
TEST: nexthop: get route with nexthop without gw [ OK ]
TEST: nexthop: ping through nexthop without gw [ OK ]
With the new jammy kernel:
++++++++++++++++++++++++++
root@ubuntu2004:~/linux# uname -a
Linux ubuntu2004 5.15.0-50-generic #56-Ubuntu SMP Tue Sep 20 13:23:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu2004:~/linux# tools/testing/selftests/net/fib_nexthop_nongw.sh
TEST: nexthop: get route with nexthop without gw [ OK ]
TEST: nexthop: ping through nexthop without gw [ OK ]
Before the update:
++++++++++++++++++
root@ubuntu2004 :~/linux# uname -a :~/linux# tools/testing/ selftests/ net/fib_ nexthop_ nongw.sh
Linux ubuntu2004 5.4.0-124-generic #140-Ubuntu SMP Thu Aug 4 02:23:37 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu2004
TEST: nexthop: get route with nexthop without gw [FAIL]
TEST: nexthop: ping through nexthop without gw [FAIL]
With the new focal kernel: +++++++ +++++++ +++++
+++++++
root@ubuntu2004 :~/linux# uname -a :~/linux# tools/testing/ selftests/ net/fib_ nexthop_ nongw.sh
Linux ubuntu2004 5.4.0-128-generic #144-Ubuntu SMP Tue Sep 20 11:00:04 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu2004
TEST: nexthop: get route with nexthop without gw [ OK ]
TEST: nexthop: ping through nexthop without gw [ OK ]
With the new jammy kernel: +++++++ +++++++ +++++
+++++++
root@ubuntu2004 :~/linux# uname -a :~/linux# tools/testing/ selftests/ net/fib_ nexthop_ nongw.sh
Linux ubuntu2004 5.15.0-50-generic #56-Ubuntu SMP Tue Sep 20 13:23:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu2004
TEST: nexthop: get route with nexthop without gw [ OK ]
TEST: nexthop: ping through nexthop without gw [ OK ]