mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
openvswitch: avoid resetting flow key while installing new flow.
since commit commit db74a3335e
("openvswitch: use percpu
flow stats") flow alloc resets flow-key. So there is no need
to reset the flow-key again if OVS is using newly allocated
flow-key.
Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
190aa3e778
commit
2279994d07
4 changed files with 10 additions and 9 deletions
|
@ -767,8 +767,6 @@ int ovs_flow_key_extract_userspace(struct net *net, const struct nlattr *attr,
|
|||
{
|
||||
int err;
|
||||
|
||||
memset(key, 0, OVS_SW_FLOW_KEY_METADATA_SIZE);
|
||||
|
||||
/* Extract metadata from netlink attributes. */
|
||||
err = ovs_nla_get_flow_metadata(net, attr, key, log);
|
||||
if (err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue