mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 11:34:58 +00:00
This patch added the test case for retransmitting ADD_ADDR when timeout occurs. It set NS1's add_addr_timeout to 1 second, and drop NS2's ADD_ADDR echo packets. Here we need to slow down the transfer process of all data to let the ADD_ADDR suboptions can be retransmitted three times. So we added a new parameter "speed" for do_transfer, it can be set with fast or slow. We also added three new optional parameters for run_tests, and dropped run_remove_tests function. Since we added the netfilter rules in this test case, we need to update the "config" file. Suggested-by: Matthieu Baerts <[email protected]> Suggested-by: Paolo Abeni <[email protected]> Acked-by: Paolo Abeni <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Mat Martineau <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
18 lines
371 B
Plaintext
18 lines
371 B
Plaintext
CONFIG_MPTCP=y
|
|
CONFIG_IPV6=y
|
|
CONFIG_MPTCP_IPV6=y
|
|
CONFIG_INET_DIAG=m
|
|
CONFIG_INET_MPTCP_DIAG=m
|
|
CONFIG_VETH=y
|
|
CONFIG_NET_SCH_NETEM=m
|
|
CONFIG_NETFILTER=y
|
|
CONFIG_NETFILTER_ADVANCED=y
|
|
CONFIG_NETFILTER_NETLINK=m
|
|
CONFIG_NF_TABLES=m
|
|
CONFIG_NFT_COUNTER=m
|
|
CONFIG_NFT_COMPAT=m
|
|
CONFIG_NETFILTER_XTABLES=m
|
|
CONFIG_NETFILTER_XT_MATCH_BPF=m
|
|
CONFIG_NF_TABLES_IPV4=y
|
|
CONFIG_NF_TABLES_IPV6=y
|