diff options
author | Jarno Rajahalme <jrajahalme@nicira.com> | 2014-11-06 07:03:05 -0800 |
---|---|---|
committer | Pravin B Shelar <pshelar@nicira.com> | 2014-11-09 18:58:44 -0800 |
commit | 05da5898a96c05e32aa9850c9cd89eef29471b13 (patch) | |
tree | 5a61db15001bea6fa41f376c6005894776e5ead4 /net/openvswitch/flow.c | |
parent | 12eb18f7115884b0c1513dda31b0051121116b3a (diff) | |
download | linux-riscv-05da5898a96c05e32aa9850c9cd89eef29471b13.tar.gz linux-riscv-05da5898a96c05e32aa9850c9cd89eef29471b13.tar.bz2 linux-riscv-05da5898a96c05e32aa9850c9cd89eef29471b13.zip |
openvswitch: Add support for OVS_FLOW_ATTR_PROBE.
This new flag is useful for suppressing error logging while probing
for datapath features using flow commands. For backwards
compatibility reasons the commands are executed normally, but error
logging is suppressed.
Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Diffstat (limited to 'net/openvswitch/flow.c')
-rw-r--r-- | net/openvswitch/flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openvswitch/flow.c b/net/openvswitch/flow.c index 25e9abcd51f1..70bef2ab7f2b 100644 --- a/net/openvswitch/flow.c +++ b/net/openvswitch/flow.c @@ -712,12 +712,12 @@ int ovs_flow_key_extract(const struct ovs_tunnel_info *tun_info, int ovs_flow_key_extract_userspace(const struct nlattr *attr, struct sk_buff *skb, - struct sw_flow_key *key) + struct sw_flow_key *key, bool log) { int err; /* Extract metadata from netlink attributes. */ - err = ovs_nla_get_flow_metadata(attr, key); + err = ovs_nla_get_flow_metadata(attr, key, log); if (err) return err; |