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

2014-09-02 Thread Pravin Shelar
On Tue, Sep 2, 2014 at 6:14 AM, Thomas Graf wrote: > On 09/02/14 at 08:52pm, roy.qing...@gmail.com wrote: >> @@ -304,9 +303,11 @@ int ovs_dp_upcall(struct datapath *dp, struct sk_buff >> *skb, >> if (err) >> goto err; >> >> + consume_skb(skb); >> return 0; > > What a

[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