+13
−4
Loading
stable inclusion from stable-v6.6.45 commit 201b76f6245346de61a32359e0644948441a2e7a bugzilla: https://gitee.com/openeuler/kernel/issues/IAJEIR Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=201b76f6245346de61a32359e0644948441a2e7a -------------------------------- commit 167b93258d1e2230ee3e8a97669b4db4cc9e90aa upstream. Currently the per-connection announced address counter is never decreased. When the user-space PM is in use, this just affect the information exposed via diag/sockopt, but it could still foul the PM to wrong decision. Add the missing accounting for the user-space PM's sake. Fixes: 8b1c94da ("mptcp: only send RM_ADDR in nl_cmd_remove") Cc: stable@vger.kernel.org Signed-off-by:Paolo Abeni <pabeni@redhat.com> Reviewed-by:
Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by:
Matthieu Baerts (NGI0) <matttbe@kernel.org> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by:
ZhangPeng <zhangpeng362@huawei.com>