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:27:54 +0000 (23:27 -0800)
commit5c7f58830a25520f7e18225b79de2774b9e9e012
treee73850f3a481da70b11f8505ca23a36b850c3987
parentdee54b830c3d43facf96c129b04265f31f503200
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