WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #245: new file mode 100755 WARNING: line length of 94 exceeds 80 columns #260: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:11: +# ┌-----------------┐ ┌------------------┐ WARNING: line length of 86 exceeds 80 columns #261: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:12: +# | SOURCE_NS | | SINK_NS | WARNING: line length of 86 exceeds 80 columns #262: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:13: +# | NAMESPACE | | NAMESPACE | WARNING: line length of 86 exceeds 80 columns #263: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:14: +# |(iperf3 clients) | | (iperf3 servers) | WARNING: line length of 86 exceeds 80 columns #264: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:15: +# | | | | WARNING: line length of 86 exceeds 80 columns #265: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:16: +# | | | | WARNING: line length of 90 exceeds 80 columns #266: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:17: +# | ┌-----------| nexthops |---------┐ | WARNING: line length of 88 exceeds 80 columns #267: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:18: +# | |veth_source|<------------------------------------------->|veth_sink|<-┐ | WARNING: line length of 90 exceeds 80 columns #268: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:19: +# | └-----------| 2001:0DB8:1::0:1/96 2001:0DB8:1::1:1/96 |---------┘ | | WARNING: line length of 86 exceeds 80 columns #269: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:20: +# | | ^ 2001:0DB8:1::1:2/96 | | | WARNING: line length of 86 exceeds 80 columns #270: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:21: +# | | . . | | fwd | WARNING: line length of 90 exceeds 80 columns #271: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:22: +# | ┌---------┐ | . . | | | WARNING: line length of 86 exceeds 80 columns #272: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:23: +# | | IPv6 | | . . | V | WARNING: line length of 90 exceeds 80 columns #273: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:24: +# | | routing | | . 2001:0DB8:1::1:80/96| ┌-----┐ | WARNING: line length of 86 exceeds 80 columns #274: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:25: +# | | table | | . | | lo | | WARNING: line length of 94 exceeds 80 columns #275: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:26: +# | | nexthop | | . └---------┴-----┴--┘ WARNING: line length of 86 exceeds 80 columns #276: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:27: +# | | update | | ..................................> 2001:0DB8:2::1:1/128 WARNING: line length of 101 exceeds 80 columns #349: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:100: + [ -e /proc/$pid/cmdline ] && grep -qe "${pattern}" /proc/$pid/cmdline && kill -9 $pid WARNING: line length of 88 exceeds 80 columns #354: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:105: + echo "info: cleaning up namespaces and terminating all processes within them..." WARNING: line length of 98 exceeds 80 columns #357: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:108: + # Terminate iperf3 instances running in source_ns. To avoid race conditions, first iterate WARNING: line length of 101 exceeds 80 columns #358: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:109: + # over the PIDs in this namespace and terminate those associated with the bash shells running WARNING: line length of 100 exceeds 80 columns #359: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:110: + # the `while true; do iperf3 -c ...; done loops`. In a second iteration over the PIDs within WARNING: line length of 81 exceeds 80 columns #360: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:111: + # the same namespace, terminate the individual `iperf3 -c ...` instances. WARNING: line length of 118 exceeds 80 columns #369: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:120: + # Check if any iperf3 instances are still running. This could occur if a core has entered an infinite loop and WARNING: line length of 118 exceeds 80 columns #370: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:121: + # the timeout for the soft lockup to be detected has not expired yet, but either the test interval has already WARNING: line length of 90 exceeds 80 columns #373: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:124: + if [ -e /proc/$pid/cmdline ] && grep -qe 'iperf3' /proc/$pid/cmdline; then WARNING: line length of 134 exceeds 80 columns #374: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:125: + echo "FAIL: unable to terminate some iperf3 instances. Soft lockup is underway. A kernel panic is on the way!" WARNING: line length of 100 exceeds 80 columns #382: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:133: + echo "PASS: No kernel soft lockup occurred during this ${TEST_DURATION} second test" WARNING: line length of 117 exceeds 80 columns #393: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:144: + ip -n ${source_ns} link add name ${SOURCE_TEST_IFACE} type veth peer name ${SINK_TEST_IFACE} netns ${sink_ns} WARNING: line length of 83 exceeds 80 columns #396: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:147: + ip -n ${source_ns} addr add ${SOURCE_TEST_IP_ADDR} dev ${SOURCE_TEST_IFACE} WARNING: line length of 82 exceeds 80 columns #399: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:150: + ip netns exec ${source_ns} sysctl -qw net.ipv6.fib_multipath_hash_policy=1 WARNING: line length of 110 exceeds 80 columns #402: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:153: + ip -n ${sink_ns} addr add ${SINK_LOOPBACK_IP_ADDR}/${SINK_LOOPBACK_IP_MASK} dev ${SINK_LOOPBACK_IFACE} WARNING: line length of 93 exceeds 80 columns #404: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:155: + ip netns exec ${sink_ns} sysctl -qw net.ipv6.conf.${SINK_LOOPBACK_IFACE}.forwarding=1 WARNING: line length of 89 exceeds 80 columns #407: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:158: + ip netns exec ${sink_ns} sysctl -qw net.ipv6.conf.${SINK_TEST_IFACE}.forwarding=1 WARNING: line length of 90 exceeds 80 columns #410: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:161: + # Populating Nexthop IPv6 addresses on the test interface of the sink_ns namespace WARNING: line length of 113 exceeds 80 columns #411: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:162: + echo "info: populating ${IPV6_NEXTHOP_ADDR_COUNT} IPv6 addresses on the ${SINK_TEST_IFACE} interface ..." WARNING: line length of 140 exceeds 80 columns #413: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:164: + ip -n ${sink_ns} addr add ${IPV6_NEXTHOP_PREFIX}::$(printf "1:%x" "${IP}")/${IPV6_NEXTHOP_ADDR_MASK} dev ${SINK_TEST_IFACE}; WARNING: line length of 141 exceeds 80 columns #418: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:169: + nexthop_ip_list=$nexthop_ip_list" nexthop via ${IPV6_NEXTHOP_PREFIX}::$(printf "1:%x" $IP) dev ${SOURCE_TEST_IFACE} weight 1" WARNING: line length of 123 exceeds 80 columns #424: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:175: + # Start num_of_iperf_servers iperf3 servers in the sink_ns namespace, each listening on ports, starting at 5001 and WARNING: line length of 122 exceeds 80 columns #426: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:177: + # Since iperf3 instances may abort due to unexpected errors, a while loop is used to automatically restart them in WARNING: line length of 97 exceeds 80 columns #428: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:179: + echo "info: starting ${num_of_iperf_servers} iperf3 servers in the sink_ns namespace ..." WARNING: line length of 119 exceeds 80 columns #430: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:181: + cmd="iperf3 --bind ${SINK_LOOPBACK_IP_ADDR} -s -p $(printf '5%03d' ${i}) --rcv-timeout 200 &>/dev/null" WARNING: line length of 92 exceeds 80 columns #431: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:182: + ip netns exec ${sink_ns} bash -c "while true; do ${cmd}; done &" &>/dev/null WARNING: line length of 86 exceeds 80 columns #441: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:192: + # Continuously refresh the routing table in background in the Source namespase WARNING: line length of 109 exceeds 80 columns #444: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:195: + ip -6 route add ${SINK_LOOPBACK_IP_ADDR}/${SINK_LOOPBACK_IP_MASK} ${nexthop_ip_list}; WARNING: line length of 93 exceeds 80 columns #446: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:197: + ip -6 route delete ${SINK_LOOPBACK_IP_ADDR}/${SINK_LOOPBACK_IP_MASK}; WARNING: line length of 142 exceeds 80 columns #449: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:200: + # Start num_of_iperf_servers iperf3 clients in the source_ns namespace, each sending TCP traffic on sequential ports starting at 5001. WARNING: line length of 143 exceeds 80 columns #450: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:201: + # Since iperf3 instances may abort due to unexpected errors (e.g., when the route from the client to the server is concurrently deleted WARNING: line length of 122 exceeds 80 columns #451: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:202: + # in the background during a route refresh), a while loop is used to automatically restart them in such scenarios. WARNING: line length of 99 exceeds 80 columns #452: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:203: + echo "info: starting ${num_of_iperf_servers} iperf3 clients in the source_ns namespace ..." WARNING: line length of 161 exceeds 80 columns #454: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:205: + cmd="iperf3 -c ${SINK_LOOPBACK_IP_ADDR} -p $(printf '5%03d' ${i}) --length 64 --bitrate ${IPERF3_BITRATE} -t 0 --connect-timeout 150 &>/dev/null" WARNING: line length of 94 exceeds 80 columns #455: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:206: + ip netns exec ${source_ns} bash -c "while true; do ${cmd}; done &" &>/dev/null WARNING: line length of 155 exceeds 80 columns #458: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:209: + echo "info: IPv6 routing table is being updated at the rate of $(echo "1/${ROUTING_TABLE_REFRESH_PERIOD}" | bc)/s for ${TEST_DURATION} seconds ..." WARNING: line length of 82 exceeds 80 columns #459: FILE: tools/testing/selftests/net/ipv6_route_update_soft_lockup.sh:210: + echo "info: A kernel soft lockup, if detected, results in a kernel panic!" total: 0 errors, 55 warnings, 0 checks, 383 lines checked NOTE: For some of the reported defects, checkpatch may be able to mechanically convert to the typical style using --fix or --fix-inplace. Commit 896cf11fe286 ("ipv6: Fix soft lockups in fib6_select_path under high next hop churn") has style problems, please review. NOTE: Ignored message types: ALLOC_SIZEOF_STRUCT BAD_REPORTED_BY_LINK CAMELCASE COMMIT_LOG_LONG_LINE GIT_COMMIT_ID MACRO_ARG_REUSE NO_AUTHOR_SIGN_OFF NOTE: If any of the errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 55 warnings, 0 checks, 383 lines checked