mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
net: bridge: multicast: fix br_multicast_eht_set_entry_lookup indentation
Fix the messed up indentation in br_multicast_eht_set_entry_lookup().
Fixes: baa74d39ca
("net: bridge: multicast: add EHT source set handling functions")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Link: https://lore.kernel.org/r/20210125082040.13022-1-razor@blackwall.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
02c2694090
commit
3e841bacf7
@ -85,15 +85,15 @@ br_multicast_eht_set_entry_lookup(struct net_bridge_group_eht_set *eht_set,
|
||||
struct net_bridge_group_eht_set_entry *this;
|
||||
int result;
|
||||
|
||||
this = rb_entry(node, struct net_bridge_group_eht_set_entry,
|
||||
rb_node);
|
||||
result = memcmp(h_addr, &this->h_addr, sizeof(*h_addr));
|
||||
if (result < 0)
|
||||
node = node->rb_left;
|
||||
else if (result > 0)
|
||||
node = node->rb_right;
|
||||
else
|
||||
return this;
|
||||
this = rb_entry(node, struct net_bridge_group_eht_set_entry,
|
||||
rb_node);
|
||||
result = memcmp(h_addr, &this->h_addr, sizeof(*h_addr));
|
||||
if (result < 0)
|
||||
node = node->rb_left;
|
||||
else if (result > 0)
|
||||
node = node->rb_right;
|
||||
else
|
||||
return this;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user