]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb1b60210b699bbe0c7513e0a9c6bde494eec8004
tree04b9dc3a635f9bcc9c12289de6c02919d25cb571
parentb3e1b68c9c7bb6725d8e27cad108ce844e4d55b1
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