tunnel: Zero keys if marked as not present.
authorJesse Gross <jesse@nicira.com>
Wed, 7 Nov 2012 01:55:43 +0000 (17:55 -0800)
committerJesse Gross <jesse@nicira.com>
Wed, 7 Nov 2012 07:43:09 +0000 (23:43 -0800)
commit848f977a7922fdbf57ff37fd250b35dd55ac40d7
tree4bb5b98cfb960e0b967951d43a0e9bd99e4378b8
parent20522a487aa468b902f3c9fa5253ca998a255890
tunnel: Zero keys if marked as not present.

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.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Kyle Mestery <kmestery@cisco.com>
datapath/vport-capwap.c
datapath/vport-gre.c