diff options
author | Kurt Kanzenbach <kurt@linutronix.de> | 2022-03-10 10:35:05 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-03-11 14:05:52 +0300 |
commit | f65e58440d4fca277233ebef78f402a0dbd02da5 (patch) | |
tree | 8f828d9a2f348a48a4da1d9bcda7d02133e10e51 /net | |
parent | bf2b83425b599d897e64a2509388f16da2ce6fd4 (diff) | |
download | linux-f65e58440d4fca277233ebef78f402a0dbd02da5.tar.xz |
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')
-rw-r--r-- | net/core/flow_dissector.c | 1 |
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; |