]> git.baikalelectronics.ru Git - kernel.git/commit
openvswitch: Use correct reply values in datapath and vport ops
authorYifeng Sun <pkusunyifeng@gmail.com>
Wed, 26 Sep 2018 18:40:14 +0000 (11:40 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Sep 2018 18:44:11 +0000 (11:44 -0700)
commita38a6a0cb7b95e032d57a0eab75610a56b7442d7
tree32dda97ddea80994235de1f66171c0d8c7d71f96
parent51edc7d81b3ebb867fdfa7307e19da7d5de87bf2
openvswitch: Use correct reply values in datapath and vport ops

This patch fixes the bug that all datapath and vport ops are returning
wrong values (OVS_FLOW_CMD_NEW or OVS_DP_CMD_NEW) in their replies.

Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/openvswitch/datapath.c