发件人: Darrell Ball [mailto:dlu...@gmail.com] 发送时间: 2019年2月1日 16:25 收件人: Li,Rongqing <lirongq...@baidu.com> 抄送: ovs dev <d...@openvswitch.org> 主题: Re: [ovs-dev] [PATCH] conntrack: compute hash value once when calling conn_key_lookup
> The function comment says it all: > /* Typical usage of this helper is in non per-packet code; > * this is because the bucket lock needs to be held for lookup > * and a hash would have already been needed. Hence, this function > * is just intended for code clarity. */ > Does it mean that the hash value will be changed ? if it is true, should we release original lock, and relock lock for new hash value? Thanks -RongQing _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev