Skip to content

Commit

Permalink
mac-learning: Remove obsolete comments about tags.
Browse files Browse the repository at this point in the history
Commit a14502a ("classifier: Retire partitions.") in 2015 removed
OVS support for tags for the second time (!), so these comments about
them should be removed too.

Signed-off-by: Ben Pfaff <[email protected]>
Acked-by: Ilya Maximets <[email protected]>
  • Loading branch information
blp committed May 12, 2021
1 parent b45958b commit 7100c22
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/mac-learning.c
Original file line number Diff line number Diff line change
Expand Up @@ -491,12 +491,8 @@ mac_learning_lookup(const struct mac_learning *ml,
const struct eth_addr dst, uint16_t vlan)
{
if (eth_addr_is_multicast(dst)) {
/* No tag because the treatment of multicast destinations never
* changes. */
return NULL;
} else if (!is_learning_vlan(ml, vlan)) {
/* We don't tag this property. The set of learning VLANs changes so
* rarely that we revalidate every flow when it changes. */
return NULL;
} else {
struct mac_entry *e = mac_entry_lookup(ml, dst, vlan);
Expand Down

0 comments on commit 7100c22

Please sign in to comment.