net: hsr: don't check sequence number if tag removal is offloaded
authorGeorge McCollister <george.mccollister@gmail.com>
Tue, 15 Jun 2021 17:50:37 +0000 (12:50 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Jun 2021 19:13:01 +0000 (12:13 -0700)
commitc2ae34a7deaff463ecafb7db627b77faaca8e159
tree264744d808123c3ba0e180018b079659e1965290
parent61273f9d83148a38cf9b78d43016c29fc80f48e5
net: hsr: don't check sequence number if tag removal is offloaded

Don't check the sequence number when deciding when to update time_in in
the node table if tag removal is offloaded since the sequence number is
part of the tag. This fixes a problem where the times in the node table
wouldn't update when 0 appeared to be before or equal to seq_out when
tag removal was offloaded.

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/hsr/hsr_framereg.c