hash: document jhash boundary behavior
authorChas Williams <chas3@att.com>
Mon, 18 Sep 2017 19:47:40 +0000 (15:47 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 5 Oct 2017 21:37:52 +0000 (23:37 +0200)
commit0c57f40e66c8c29c6c92a7b0dec46fcef5584941
tree928cd5443081d21fb0325d037078e59fa8594bec
parentb081c1dd2ec64c4f3cc18723ccb7aa1601985bb0
hash: document jhash boundary behavior

Due to the uint32_t accesses in the hash computation, keys that aren't
aligned to a uint32_t boundary or multiples of uint32_t in length, may
see accesses beyond the end of the key.  This may cross a page boundary.

Signed-off-by: Chas Williams <chas3@att.com>
Acked-by: Luca Boccassi <bluca@debian.org>
Acked-by: John McNamara <john.mcnamara@intel.com>
lib/librte_hash/rte_jhash.h