rstp: Refactor rstp_check_and_reset_fdb_flush().
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 14 Nov 2014 22:07:50 +0000 (14:07 -0800)
committerJarno Rajahalme <jrajahalme@nicira.com>
Fri, 14 Nov 2014 22:07:50 +0000 (14:07 -0800)
commit66ff280de884f85fae205a431af7a572a772cbfd
tree87d185c516439bac14428e287350f3eb67b4bb5e
parent4b5f19962adccfb3b4a431c9787c45e2c410ab55
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>
lib/rstp.c
lib/rstp.h
ofproto/ofproto-dpif.c