]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: correct encoding of set tunnel action attributes
authorSimon Horman <simon.horman@netronome.com>
Fri, 18 Dec 2015 10:43:15 +0000 (19:43 +0900)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Dec 2015 21:35:35 +0000 (16:35 -0500)
commitcd14240cc6bae9b2a40b89576e7fb5ae954d107c
tree1c6499a6ea057f27127ea88d238f4e94bb285544
parentd2b81ef7dd48eb2398f93dab7ac4c67ca3bef175
openvswitch: correct encoding of set tunnel action attributes

In a set action tunnel attributes should be encoded in a
nested action.

I noticed this because ovs-dpctl was reporting an error
when dumping flows due to the incorrect encoding of tunnel attributes
in a set action.

Fixes: cecd887561fa ("openvswitch: Fix egress tunnel info.")
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/flow_netlink.c