Commit 596c96ee authored by Kristian Overskeid's avatar Kristian Overskeid Committed by openeuler-sync-bot
Browse files

net: hsr: Don't log netdev_err message on unknown prp dst node

stable inclusion
from stable-v5.10.177
commit b94ffa287415e3950b2fd846c9a10420533f7ef1
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP

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



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

[ Upstream commit 28e8cabe ]

If no frames has been exchanged with a node for HSR_NODE_FORGET_TIME, the
node will be deleted from the node_db list. If a frame is sent to the node
after it is deleted, a netdev_err message for each slave interface is
produced. This should not happen with dan nodes because of supervision
frames, but can happen often with san nodes, which clutters the kernel
log. Since the hsr protocol does not support sans, this is only relevant
for the prp protocol.

Signed-off-by: default avatarKristian Overskeid <koverskeid@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
(cherry picked from commit 44e5b492)
parent be17bf91
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment