[ovs-dev] [PATCH] openvswitch: distinguish between the dropped and consumed skb

2014-09-02 Thread roy . qing . li
From: Li RongQing distinguish between the dropped and consumed skb, not assume the skb is consumed always Cc: Pravin Shelar Signed-off-by: Li RongQing --- net/openvswitch/datapath.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/net/openvswitch/datapath.c b/net/openv

[ovs-dev] [PATCH] openvswitch: fix a memory leak

2014-09-02 Thread roy . qing . li
From: Li RongQing The user_skb maybe be leaked if the operation on it failed and codes skipped into the label "out:" without calling genlmsg_unicast. Cc: Pravin Shelar Signed-off-by: Li RongQing --- net/openvswitch/datapath.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff