diff options
author | Jarno Rajahalme <jrajahalme@nicira.com> | 2014-11-14 14:07:50 -0800 |
---|---|---|
committer | Jarno Rajahalme <jrajahalme@nicira.com> | 2014-11-14 14:07:50 -0800 |
commit | 66ff280de884f85fae205a431af7a572a772cbfd (patch) | |
tree | 87d185c516439bac14428e287350f3eb67b4bb5e /lib/rstp.h | |
parent | 4b5f19962adccfb3b4a431c9787c45e2c410ab55 (diff) | |
download | openvswitch-66ff280de884f85fae205a431af7a572a772cbfd.tar.gz |
rstp: Refactor rstp_check_and_reset_fdb_flush().
With this commit, RSTP is able to flush from the MAC learning table
entries pertaining to a single port. Before this commit the whole
table was flushed every time a port requested flushing actions.
Signed-off-by: Daniele Venturino <daniele.venturino@m3s.it>
Acked-by: Jarno Rajahalme <jrajahalme@nicira.com>
Diffstat (limited to 'lib/rstp.h')
-rw-r--r-- | lib/rstp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rstp.h b/lib/rstp.h index b429e35e4..b05cdf24a 100644 --- a/lib/rstp.h +++ b/lib/rstp.h @@ -157,7 +157,7 @@ void rstp_tick_timers(struct rstp *) void rstp_port_received_bpdu(struct rstp_port *, const void *bpdu, size_t bpdu_size) OVS_EXCLUDED(rstp_mutex); -bool rstp_check_and_reset_fdb_flush(struct rstp *) +void *rstp_check_and_reset_fdb_flush(struct rstp *, struct rstp_port **) OVS_EXCLUDED(rstp_mutex); void *rstp_get_next_changed_port_aux(struct rstp *, struct rstp_port **) OVS_EXCLUDED(rstp_mutex); |