diff options
author | Ben Pfaff <blp@nicira.com> | 2010-08-26 09:56:25 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-08-26 10:54:04 -0700 |
commit | e5ae7df8c7f44cb2d6f42daaab1d3c26c7a88ae3 (patch) | |
tree | bf4b80a1bd036d1b9eef4e3adf226b64c12d010f /datapath/flow.c | |
parent | 3161c659b79c9bef131628fe6f37d207ed17afdf (diff) |
vswitchd: Fix 100% CPU usage with bonds and --fake-proc-net.
The current date in milliseconds since the epoch is ~1,282,841,552,000,
which is greater than LONG_MAX of 4,294,967,295 on 32-bit systems, so
no matter what was stored into bond_next_fake_iface_update, it would always
appear to be expired. It really needs to be a 64-bit number. (This was
just a typo really.)
Since XenServer 5.5 requires --fake-proc-net, this probably fixes an
important bug there.
Reported-by: Luiz Henrique Ozaki <luiz.ozaki@gmail.com>
Diffstat (limited to 'datapath/flow.c')
0 files changed, 0 insertions, 0 deletions