datapath: Don't allow flows installed with only TUN_ID.
authorJesse Gross <jesse@nicira.com>
Mon, 5 Nov 2012 23:47:41 +0000 (15:47 -0800)
committerJesse Gross <jesse@nicira.com>
Wed, 7 Nov 2012 07:42:41 +0000 (23:42 -0800)
commitd1a0566ee9e9d6cf4587f4870a6934d0a6e2de78
tree2994901d69117accc3191315dc7516d88a505216
parent5a89c8ec5ed1e32a6af718d20fdbaaf351493422
datapath: Don't allow flows installed with only TUN_ID.

Tunnel ports now always include full outer IP information, even if
userspace can't understand it.  Since our flows our exact match this
information must also be provided when setting up flows.  Since flows
with only OVS_KEY_ATTR_TUN_ID keys don't contain all of this information
they can never be hit and we should just reject them at setup time.

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