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:27:55 +0000 (23:27 -0800)
commit7827e96773426263e60d09a2dcf9dd75e6f25567
treef00d4a066b4876706981f7b3db647a2e0748c4c3
parent8432bb09305ac380451fc1bbd39336d6e2c472eb
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