selftests: mptcp: add the net device name testcase
authorGeliang Tang <geliangtang@gmail.com>
Wed, 7 Apr 2021 00:16:03 +0000 (17:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Apr 2021 21:09:40 +0000 (14:09 -0700)
commitc3eaa5f667cb60ea23c1bbc59e83c4f71de18e48
tree185e077bf7cb49414f15ace53a212e9e087aad06
parent761c124ed9698581e88d7babb9001401724435dd
selftests: mptcp: add the net device name testcase

This patch added a new testcase for setting the net device name. In it,
pass the net device name to pm_nl_ctl to set the ifindex field of struct
mptcp_pm_addr_entry.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Signed-off-by: Mat Martineau <mathew.j.martineau@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/mptcp/mptcp_join.sh