]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2e223ca550fbeffcade7c6c3599236cced5db39a
tree6d7b081fca05a44e0fd991b35d5c9ed39c74832f
parentaf8531378ee3bc5987da77e699d7cadc9ccaf7d8
openvswitch: avoid resetting flow key while installing new flow.

since commit commit 914292920a259 ("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