mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
tipc: rate limit warning for received illegal binding update
[ Upstream commitc7223d6877
] 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:b97bf3fd8f
("[TIPC] Initial merge") Signed-off-by: Jon Maloy <jmaloy@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
ef5cdae8bc
commit
657aea7828
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ static bool tipc_update_nametbl(struct net *net, struct distr_item *i,
|
|||
pr_warn_ratelimited("Failed to remove binding %u,%u from %x\n",
|
||||
type, lower, node);
|
||||
} else {
|
||||
pr_warn("Unrecognized name table message received\n");
|
||||
pr_warn_ratelimited("Unknown name table message received\n");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue