net: bridge: vlan options: rename br_vlan_opts_eq to br_vlan_opts_eq_range
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 17 Mar 2020 12:08:33 +0000 (14:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Mar 2020 05:47:12 +0000 (22:47 -0700)
commit99f7c5e0960dfaabb5c685bab2ab8a1fc163b8e6
tree04b9dc3a635f9bcc9c12289de6c02919d25cb571
parent0419c450e1bb5eb1c68ba10efeefddaf556cde85
net: bridge: vlan options: rename br_vlan_opts_eq to br_vlan_opts_eq_range

It is more appropriate name as it shows the intent of why we need to
check the options' state. It also allows us to give meaning to the two
arguments of the function: the first is the current vlan (v_curr) being
checked if it could enter the range ending in the second one (range_end).

Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_private.h
net/bridge/br_vlan.c
net/bridge/br_vlan_options.c