Commit f65e5844 authored by Kurt Kanzenbach's avatar Kurt Kanzenbach Committed by David S. Miller

flow_dissector: Add support for HSRv0

Commit bf08824a ("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: default avatarAnthony Harivel <anthony.harivel@linutronix.de>
Signed-off-by: Kurt Kanzenbach's avatarKurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bf2b8342
......@@ -1283,6 +1283,7 @@ bool __skb_flow_dissect(const struct net *net,
break;
}
case htons(ETH_P_PRP):
case htons(ETH_P_HSR): {
struct hsr_tag *hdr, _hdr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment