ofproto: Fix over accounting of byte counters.
authorEthan Jackson <ethan@nicira.com>
Tue, 16 Aug 2011 21:16:58 +0000 (14:16 -0700)
committerEthan Jackson <ethan@nicira.com>
Tue, 16 Aug 2011 21:33:17 +0000 (14:33 -0700)
commit9adea03b888b0087cdd5877f61ed6a50170ea8f7
treef05079d12de359232c34bfcc3df43d562c86e33c
parentbbb5d219de99cc99f0b88d25313a03ecaef13f9c
ofproto: Fix over accounting of byte counters.

The update_stats() function in ofproto was attributing more bytes
to facets than they had actually accrued.  This could potentially
throw off bond load balancing.

Found by inspection.
ofproto/ofproto-dpif.c