lkml.org 
[lkml]   [2014]   [Dec]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next V3] tun/macvtap: use consume_skb() instead of kfree_skb() when needed


On Sun, Nov 30, 2014 at 1:03 PM, David Miller <davem@davemloft.net>
wrote:
> From: Jason Wang <jasowang@redhat.com>
> Date: Thu, 27 Nov 2014 14:36:06 +0800
>
>> To be more friendly with drop monitor, we should only call
>> kfree_skb() when
>> the packets were dropped and use consume_skb() in other cases.
>>
>> Cc: Eric Dumazet <eric.dumazet@gmail.com>
>> Signed-off-by: Jason Wang <jasowang@redhat.com>
>> ---
>> Changes from V2:
>> - use unlikely() when necessary
>> Changes from V1:
>> - check the return value of tun/macvtap_put_user()
>
> This does not apply cleanly to net-next and will thus need to
> be respun, thanks.

Will post V3.

Thanks



\
 
 \ /
  Last update: 2014-12-01 07:01    [W:0.060 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site