Subject: Re: [PATCH net-next-2.6 take2] ipv6: udp: Optimise multicast reception

From: Eric Dumazet <[email-masked]>
Date: Fri, 06 Nov 2009 18:54:55 +0100

Eric Dumazet a écrit :
>
> 
> Well, because of future RCU patch, I'll need to continue the loop anyway,
> because sock_put() will be part of the loop.
> 
> Also, the 'final' case will at least provide the skb we already have.
> 

Last point :

We should atomic_inc(&sk->sk_drops) in the case skb_clone()
could not provide a copy, and eventually increment UDP_MIB_RCVBUFERRORS & 
UDP_MIB_INERRORS SNMP counters