OSDN Git Service

tipc: rate limit warning for received illegal binding update
authorJon Maloy <jmaloy@redhat.com>
Wed, 9 Feb 2022 03:22:37 +0000 (22:22 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Feb 2022 12:48:22 +0000 (12:48 +0000)
commitc7223d687758462826a20e9735305d55bb874c70
tree5680f5f133c3ffa1cc8a9fe51e3bd6d83207768f
parentbc1c3c3b10db4f37c41e6107751a8d450d9c431c
tipc: rate limit warning for received illegal binding update

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: b97bf3fd8f6a ("[TIPC] Initial merge")
Signed-off-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/name_distr.c