Commit b3638130 authored by Jon Maloy's avatar Jon Maloy Committed by Zheng Zengkai
Browse files

tipc: rate limit warning for received illegal binding update

stable inclusion
from stable-v5.10.101
commit 657aea782887f6a55d6e2ad6ce82d8425b2e5bab
bugzilla: https://gitee.com/openeuler/kernel/issues/I5669Z

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=657aea782887f6a55d6e2ad6ce82d8425b2e5bab



--------------------------------

[ Upstream commit c7223d68 ]

It would be easy to craft a message containing an illegal binding table
update operation. This is handled correctly by the code, but the
corresponding warning printout is not rate limited as is should be.
We fix this now.

Fixes: b97bf3fd ("[TIPC] Initial merge")
Signed-off-by: default avatarJon Maloy <jmaloy@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYu Liao <liaoyu15@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 577030f8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment