datapath: Properly validate length of OVS_KEY_ATTR_ENCAP attributes.
authorBen Pfaff <blp@nicira.com>
Wed, 16 Nov 2011 00:02:39 +0000 (16:02 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 16 Nov 2011 00:04:19 +0000 (16:04 -0800)
commit4094406ffde8233443bf0ecffe1b18b8bb24e8d3
tree848905c5f147b42f816e3c94fe42bf33c03d8095
parentb308140aa09d330a56c6cd971327a2d283db8a77
datapath: Properly validate length of OVS_KEY_ATTR_ENCAP attributes.

Without this, every VLAN packet goes to userspace because VLAN flows
cannot be set up.

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