Re: [PATCH] openvswitch: Fix a possible memory leak on dst_cache

2019-07-18 Thread Haishuang Yan
> On 2019年7月19日, at 上午6:12, Gregory Rose wrote: > > On 7/18/2019 9:07 AM, Haishuang Yan wrote: >> dst_cache should be destroyed when fail to add flow actions. >> >> Fixes: d71785ffc7e7 ("net: add dst_cache to ovs vxlan lwtunnel") >> Signed-off-by: Haishuang Yan >> --- >> net/openvswitch/flow

Re: [PATCH] openvswitch: Fix a possible memory leak on dst_cache

2019-07-18 Thread Gregory Rose
On 7/18/2019 9:07 AM, Haishuang Yan wrote: dst_cache should be destroyed when fail to add flow actions. Fixes: d71785ffc7e7 ("net: add dst_cache to ovs vxlan lwtunnel") Signed-off-by: Haishuang Yan --- net/openvswitch/flow_netlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/ope

Re: [PATCH] openvswitch: Fix a possible memory leak on dst_cache

2019-07-18 Thread David Miller
From: Haishuang Yan Date: Fri, 19 Jul 2019 00:07:08 +0800 > dst_cache should be destroyed when fail to add flow actions. > > Fixes: d71785ffc7e7 ("net: add dst_cache to ovs vxlan lwtunnel") > Signed-off-by: Haishuang Yan OVS folks, please review.

[PATCH] openvswitch: Fix a possible memory leak on dst_cache

2019-07-18 Thread Haishuang Yan
dst_cache should be destroyed when fail to add flow actions. Fixes: d71785ffc7e7 ("net: add dst_cache to ovs vxlan lwtunnel") Signed-off-by: Haishuang Yan --- net/openvswitch/flow_netlink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/openvswitch/flow_netlink.c b/net/openvswitch/flow_