aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2024-02-08 18:03:53 +0000
committerDavid S. Miller <[email protected]>2024-02-12 10:08:13 +0000
commitf012d796a6de662692159c539689e47e662853a8 (patch)
tree2cfd9943494291d36dab996e4730ca0ccf8a2d28 /net/unix/garbage.c
parentmptcp: corner case locking for rx path fields initialization (diff)
downloadkernel-f012d796a6de662692159c539689e47e662853a8.tar.gz
kernel-f012d796a6de662692159c539689e47e662853a8.zip
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: [email protected] Signed-off-by: Geliang Tang <[email protected]> Reviewed-by: Mat Martineau <[email protected]> Signed-off-by: Matthieu Baerts (NGI0) <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions