Use the common helper instead of the open-coded check. No change in
behaviour.
Signed-off-by: Oleksij Rempel <o.re…@pengutronix.de>
---
Changes in v2:
- New in v2 (Andrew).
---
net/dsa/tag_mxl862xx.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/net/dsa/tag_mxl862xx.c b/net/dsa/tag_mxl862xx.c
index 87b80ddf094632fd2842be9ef63daa277fd5596c..163b160ef19d7448eaefa601b267b5f0dddf1fe9 100644
--- a/net/dsa/tag_mxl862xx.c
+++ b/net/dsa/tag_mxl862xx.c
@@ -89,8 +89,7 @@ static struct sk_buff *mxl862_tag_rcv(struct sk_buff *skb,
return NULL;
}
- if (likely(!is_link_local_ether_addr(eth_hdr(skb)->h_dest)))
- dsa_default_offload_fwd_mark(skb);
+ dsa_link_local_offload_fwd_mark(skb, DSA_LINK_LOCAL_ALL);
/* remove the MxL862xx special tag between the MAC addresses and the
* current ethertype field.
--
2.47.3