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

Pravin Shelar pshelar at nicira.com
Tue Sep 2 20:20:48 UTC 2014


On Tue, Sep 2, 2014 at 6:14 AM, Thomas Graf <tgraf at noironetworks.com> wrote:
> On 09/02/14 at 08:52pm, roy.qing.li at 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 about the path from output_userspace()?

Right, output_userspace() can not free the skb in any case.



More information about the dev mailing list