]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/openvswitch/datapath.c
UBUNTU: Ubuntu-raspi2-4.13.0-1014.15
[mirror_ubuntu-artful-kernel.git] / net / openvswitch / datapath.c
index 6b44fe4052825a87b373bafb58ca014e3ec99015..294444bb075c8b88dd3807a0a659be17a43863c4 100644 (file)
@@ -1126,7 +1126,8 @@ static int ovs_nla_init_match_and_action(struct net *net,
                if (!a[OVS_FLOW_ATTR_KEY]) {
                        OVS_NLERR(log,
                                  "Flow key attribute not present in set flow.");
-                       return -EINVAL;
+                       error = -EINVAL;
+                       goto error;
                }
 
                *acts = get_flow_actions(net, a[OVS_FLOW_ATTR_ACTIONS], key,