summaryrefslogtreecommitdiffstats
path: root/net/core
diff options
context:
space:
mode:
authorKurt Kanzenbach <kurt@linutronix.de>2022-03-10 08:35:05 +0100
committerDavid S. Miller <davem@davemloft.net>2022-03-11 11:05:52 +0000
commitf65e58440d4fca277233ebef78f402a0dbd02da5 (patch)
tree8f828d9a2f348a48a4da1d9bcda7d02133e10e51 /net/core
parentbf2b83425b599d897e64a2509388f16da2ce6fd4 (diff)
downloadlinux-f65e58440d4fca277233ebef78f402a0dbd02da5.tar.bz2
flow_dissector: Add support for HSRv0
Commit bf08824a0f47 ("flow_dissector: Add support for HSR") added support for HSR within the flow dissector. However, it only works for HSR in version 1. Version 0 uses a different Ether Type. Add support for it. Reported-by: Anthony Harivel <anthony.harivel@linutronix.de> Signed-off-by: Kurt Kanzenbach <kurt@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/flow_dissector.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/flow_dissector.c b/net/core/flow_dissector.c
index 34441a32e3be..03b6e649c428 100644
--- a/net/core/flow_dissector.c
+++ b/net/core/flow_dissector.c
@@ -1283,6 +1283,7 @@ proto_again:
break;
}
+ case htons(ETH_P_PRP):
case htons(ETH_P_HSR): {
struct hsr_tag *hdr, _hdr;