ofproto: Rate-limit STP status errors on non-existent ports.
authorJustin Pettit <jpettit@nicira.com>
Wed, 2 May 2012 17:20:07 +0000 (10:20 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 26 Feb 2013 19:01:05 +0000 (11:01 -0800)
commitb1e69c0abf58ae496116c032c65885407fb245ac
tree0316ee91e504d161cfaabd9b6d045df97beea2df
parent38ed79333f2a2554912210a10df6aeddd67046ec
ofproto: Rate-limit STP status errors on non-existent ports.

As part of the bridge's main loop, it queries the STP status of all
ports.  If the port doesn't exist, log files can become filled with
warning messages.  This situation is very unusual, since system devices
do not normally disappear, but it's easy enough to rate-limit these
messages.

Bug #10936

Reported-by: Reid Price <reid@nicira.com>
Signed-off-by: Justin Pettit <jpettit@nicira.com>
ofproto/ofproto.c