]> git.proxmox.com Git - mirror_ovs.git/commit - datapath/datapath.c
datapath: Use correct reply values in datapath and vport ops
authorYifeng Sun <pkusunyifeng@gmail.com>
Wed, 17 Oct 2018 19:25:47 +0000 (12:25 -0700)
committerBen Pfaff <blp@ovn.org>
Wed, 17 Oct 2018 19:41:29 +0000 (12:41 -0700)
commit229486c2dfa9341cbdd4bb8be4f630429717ecb7
tree6e38d54802831c1b9fbfa4fd6a1d3e5c91afdf90
parentf94178077d1128326374e26e825a2c5fff20c350
datapath: 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.

This commit backports upstream net-next's commit 804fe108fc92e59
("openvswitch: Use correct reply values in datapath and vport ops").

Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: Ben Pfaff <blp@ovn.org>
datapath/datapath.c