[ovs-git] [openvswitch/ovs] 284658: datapath: update exact match lookup hash value to ...
noreply at github.com
Tue Feb 3 22:35:19 UTC 2015
Author: Andy Zhou <azhou at nicira.com>
Date: 2015-02-03 (Tue, 03 Feb 2015)
datapath: update exact match lookup hash value to avoid hash collision
Currently, the exact match cache lookup uses 'skb->hash' as an index.
In most cases, this value will be the same for pre and post
recirculation lookup, threshing the exact match cache. This patch
avoid this hash collision by using the rehashed value, by mixing in
in the 'recirc_id', as the lookup index.
Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Pravin B Shelar <pshelar at nicira.com>
More information about the git