]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Don't insert empty OVS_VPORT_ATTR_OPTIONS attribute
authorThomas Graf <tgraf@suug.ch>
Tue, 2 Apr 2013 22:30:43 +0000 (00:30 +0200)
committerJesse Gross <jesse@nicira.com>
Tue, 2 Apr 2013 23:31:58 +0000 (16:31 -0700)
commit1c62e6a277d67cb16363a44a0fd2b37f58976469
treec9ee48774d76ed0a183018696a6a9c08be33ecbc
parent8fcf348ca472edc8f460a1aa8a924e6382b18a16
openvswitch: 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 <tgraf@suug.ch>
Signed-off-by: Jesse Gross <jesse@nicira.com>
net/openvswitch/vport.c