diff options
author | Huang Guobin <huangguobin4@huawei.com> | 2020-08-03 05:00:55 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-04 02:21:46 +0300 |
commit | fbc97de84ef88bc38874c41be151cf220c72a865 (patch) | |
tree | 4979d9522a3d4cec7f721194c139c74f195f66f8 /net/ipv6/seg6_iptunnel.c | |
parent | 6c09b484377cc8f135a20390c99d7e0d71b1b888 (diff) | |
download | linux-fbc97de84ef88bc38874c41be151cf220c72a865.tar.xz |
tipc: Use is_broadcast_ether_addr() instead of memcmp()
Using is_broadcast_ether_addr() instead of directly use
memcmp() to determine if the ethernet address is broadcast
address.
spatch with a semantic match is used to found this problem.
(http://coccinelle.lip6.fr/)
Signed-off-by: Huang Guobin <huangguobin4@huawei.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/seg6_iptunnel.c')
0 files changed, 0 insertions, 0 deletions