[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4AF462EF.1050604@gmail.com>
Date: Fri, 06 Nov 2009 18:54:55 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Lucian Adrian Grijincu <lgrijincu@...acom.com>
CC: David Miller <davem@...emloft.net>, netdev@...r.kernel.org,
opurdila@...acom.com
Subject: Re: [PATCH net-next-2.6 take2] ipv6: udp: Optimise multicast reception
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
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists