summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorGeliang Tang <geliang@kernel.org>2024-02-08 21:03:53 +0300
committerDavid S. Miller <davem@davemloft.net>2024-02-12 13:08:13 +0300
commitf012d796a6de662692159c539689e47e662853a8 (patch)
tree2cfd9943494291d36dab996e4730ca0ccf8a2d28 /tools/perf/scripts/python/export-to-sqlite.py
parente4a0fa47e816e186f6b4c0055d07eeec42d11871 (diff)
downloadlinux-f012d796a6de662692159c539689e47e662853a8.tar.xz
mptcp: check addrs list in userspace_pm_get_local_id
Before adding a new entry in mptcp_userspace_pm_get_local_id(), it's better to check whether this address is already in userspace pm local address list. If it's in the list, no need to add a new entry, just return it's address ID and use this address. Fixes: 8b20137012d9 ("mptcp: read attributes of addr entries managed by userspace PMs") Cc: stable@vger.kernel.org Signed-off-by: Geliang Tang <geliang.tang@linux.dev> Reviewed-by: Mat Martineau <martineau@kernel.org> Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions