hash: Change mhash_finish() data measurement from words to bytes.
authorBen Pfaff <blp@nicira.com>
Fri, 14 Dec 2012 22:50:06 +0000 (14:50 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 22 Jan 2013 21:40:52 +0000 (13:40 -0800)
commitcb8ca8156749d07c94b92249a49c1c6aa7c74934
tree98d669911e8713d4c71d57ce587347d7e7aeeccf
parentb2a52eedaa406bacfa53d2b2a3d4236e46042bcd
hash: Change mhash_finish() data measurement from words to bytes.

murmurhash includes an xor with the number of bytes hashed in its finishing
step.  Until now, we've only had murmurhash for full words, but an upcoming
commit adds murmurhash for bytes, so the finishing function will need to
take a count of bytes instead.

Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/flow.c
lib/hash.c
lib/hash.h