tunneling: Clear OVS_CB after call to update_header().
authorJesse Gross <jesse@nicira.com>
Fri, 19 Nov 2010 21:10:14 +0000 (13:10 -0800)
committerJesse Gross <jesse@nicira.com>
Fri, 3 Dec 2010 01:10:14 +0000 (17:10 -0800)
commit7da5c9390e3b6c3ad5e0443e171e570fc16ff978
tree35905d561ddc1e0015ea63ef440b0f06f476804c
parent1d87ef5cb22d4d1709af6b4d0460b0c3e2af9a22
tunneling: Clear OVS_CB after call to update_header().

If a packet is traversing the IP stack we need to clear some pieces
of the skb CB beforehand.  We currently do this before the call to
update_header() but header generation may need some members of the
CB, such as the key.  Therefore, zero out the CB only after the
header is complete.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
datapath/tunnel.c