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)
committerJustin Pettit <jpettit@nicira.com>
Wed, 2 May 2012 17:20:07 +0000 (10:20 -0700)
commitb0a5c43bd76c248408326f51823e67dcd87d0994
treebf41b1c4fa516aa9c716a678dce75ae0c50b23d6
parentf66b87de59564e70bf6325e6bd211e45243187c8
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