From: Thomas Graf Date: Tue, 2 Apr 2013 23:34:28 +0000 (-0700) Subject: datapath: Don't insert empty OVS_VPORT_ATTR_OPTIONS attribute X-Git-Tag: sliver-openvswitch-1.10.90-1~10^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=778ea0a463e08b2f47d69288367ac7960712fb0c;hp=778ea0a463e08b2f47d69288367ac7960712fb0c;p=sliver-openvswitch.git datapath: Don't insert empty OVS_VPORT_ATTR_OPTIONS attribute The port specific options are currently unused resulting in an empty OVS_VPORT_ATTR_OPTIONS nested attribute being inserted into every OVS_VPORT_CMD_GET message. Don't insert OVS_VPORT_ATTR_OPTIONS if no options are present. Signed-off-by: Thomas Graf [jesse: Options are used by tunnels but the concept still applies.] Signed-off-by: Jesse Gross ---