]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - net/openvswitch/flow_netlink.c
openvswitch: avoid resetting flow key while installing new flow.
authorpravin shelar <pshelar@ovn.org>
Mon, 19 Sep 2016 20:51:00 +0000 (13:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 21 Sep 2016 02:54:35 +0000 (22:54 -0400)
commit2279994d07ab67ff7a1d09bfbd65588332dfb6d8
tree6d7b081fca05a44e0fd991b35d5c9ed39c74832f
parent190aa3e77880a05332ea1ccb382a51285d57adb5
openvswitch: avoid resetting flow key while installing new flow.

since commit commit db74a3335e0f6 ("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>
net/openvswitch/datapath.c
net/openvswitch/flow.c
net/openvswitch/flow_netlink.c
net/openvswitch/flow_netlink.h