On Tue, Nov 6, 2012 at 8:04 PM, Pravin Shelar <[email protected]> wrote:

>
>
>
> On Tue, Nov 6, 2012 at 6:32 PM, Jesse Gross <[email protected]> wrote:
>
>> If a key used to find a port then we mark it as being not present
>> (previously this was accomplished by setting it to zero).  However,
>> we also still pass the key to userspace which could lead to an
>> inconsistent state.  This also zeros out the key as before in order
>> to make our reported results consistent.
>>
>>
> I am not sure why is it inconsistent, zeroing key can not mean it is not
> present since zero is valid key. only key_present flag can be used for
> check and I think it is set correctly.
>

It's possible to have a key that is present and zero but it's illogical to
have a value for a key that nominally doesn't exist.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to