aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2024-11-12 20:18:33 +0100
committerJakub Kicinski <[email protected]>2024-11-13 18:51:02 -0800
commite0266319413d5d687ba7b6df7ca99e4b9724a4f2 (patch)
treebae5458831e73b356c080dd6c0f244bbf93d12f4 /tools/perf/scripts/python/gecko.py
parent73af53d82076bbe184d9ece9e14b0dc8599e6055 (diff)
mptcp: update local address flags when setting it
Just like in-kernel pm, when userspace pm does set_flags, it needs to send out MP_PRIO signal, and also modify the flags of the corresponding address entry in the local address list. This patch implements the missing logic. Traverse all address entries on userspace_pm_local_addr_list to find the local address entry, if bkup is true, set the flags of this entry with FLAG_BACKUP, otherwise, clear FLAG_BACKUP. Fixes: 892f396c8e68 ("mptcp: netlink: issue MP_PRIO signals from userspace PMs") Cc: [email protected] Signed-off-by: Geliang Tang <[email protected]> Reviewed-by: Matthieu Baerts (NGI0) <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions