diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-11-01 10:11:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-11-03 02:34:05 +0100 |
commit | 46acc460c07b5c74287560a00b6cbc6111136ab6 (patch) | |
tree | c6fea173bd0ec28ba4eb5790cd2601a60bcbcc3e /net/bridge/br_input.c | |
parent | bridge: Use is_link_local() in store_group_addr() (diff) | |
download | linux-46acc460c07b5c74287560a00b6cbc6111136ab6.tar.xz linux-46acc460c07b5c74287560a00b6cbc6111136ab6.zip |
eth: Make is_link_local() consistent with other address tests
Function name should include '_ether_addr'.
Return type should be bool.
Parameter name should be 'addr' not 'dest' (also matching kernel-doc).
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Acked-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_input.c')
-rw-r--r-- | net/bridge/br_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index d047978bf025..4b34207419b1 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -147,7 +147,7 @@ rx_handler_result_t br_handle_frame(struct sk_buff **pskb) p = br_port_get_rcu(skb->dev); - if (unlikely(is_link_local(dest))) { + if (unlikely(is_link_local_ether_addr(dest))) { /* * See IEEE 802.1D Table 7-10 Reserved addresses * |