|
@@ -524,7 +524,7 @@ static int ovs_packet_cmd_execute(struct sk_buff *skb, struct genl_info *info)
|
|
|
struct vport *input_vport;
|
|
|
int len;
|
|
|
int err;
|
|
|
- bool log = !a[OVS_FLOW_ATTR_PROBE];
|
|
|
+ bool log = !a[OVS_PACKET_ATTR_PROBE];
|
|
|
|
|
|
err = -EINVAL;
|
|
|
if (!a[OVS_PACKET_ATTR_PACKET] || !a[OVS_PACKET_ATTR_KEY] ||
|
|
@@ -610,6 +610,7 @@ static const struct nla_policy packet_policy[OVS_PACKET_ATTR_MAX + 1] = {
|
|
|
[OVS_PACKET_ATTR_PACKET] = { .len = ETH_HLEN },
|
|
|
[OVS_PACKET_ATTR_KEY] = { .type = NLA_NESTED },
|
|
|
[OVS_PACKET_ATTR_ACTIONS] = { .type = NLA_NESTED },
|
|
|
+ [OVS_PACKET_ATTR_PROBE] = { .type = NLA_FLAG },
|
|
|
};
|
|
|
|
|
|
static const struct genl_ops dp_packet_genl_ops[] = {
|