Message ID | 1552876928-12339-1-git-send-email-wenxu@ucloud.cn |
---|---|
State | Rejected |
Delegated to: | Simon Horman |
Headers | show |
Series | [ovs-dev,v2] dpif-netlink: avoid offload the unsupported USERSPACE actions | expand |
diff --git a/lib/dpif-netlink.c b/lib/dpif-netlink.c index 00538e5..46fe022 100644 --- a/lib/dpif-netlink.c +++ b/lib/dpif-netlink.c @@ -2036,6 +2036,9 @@ parse_flow_put(struct dpif_netlink *dpif, struct dpif_flow_put *put) csum_on = tnl_cfg->csum; } netdev_close(outdev); + } else if (nl_attr_type(nla) == OVS_ACTION_ATTR_USERSPACE) { + err = EOPNOTSUPP; + goto out; } }