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>
This commit is contained in:

committed by
David S. Miller

parent
0419c450e1
commit
99f7c5e096
@@ -1199,8 +1199,8 @@ static inline void br_vlan_notify(const struct net_bridge *br,
|
||||
|
||||
/* br_vlan_options.c */
|
||||
#ifdef CONFIG_BRIDGE_VLAN_FILTERING
|
||||
bool br_vlan_opts_eq(const struct net_bridge_vlan *v1,
|
||||
const struct net_bridge_vlan *v2);
|
||||
bool br_vlan_opts_eq_range(const struct net_bridge_vlan *v_curr,
|
||||
const struct net_bridge_vlan *range_end);
|
||||
bool br_vlan_opts_fill(struct sk_buff *skb, const struct net_bridge_vlan *v);
|
||||
size_t br_vlan_opts_nl_size(void);
|
||||
int br_vlan_process_options(const struct net_bridge *br,
|
||||
|
Reference in New Issue
Block a user