[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071205.015212.243064142.davem@davemloft.net>
Date: Wed, 05 Dec 2007 01:52:12 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/3] [UDP]: Avoid repeated counting of checksum errors
due to peeking
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Tue, 4 Dec 2007 23:58:44 +1100
> [UDP]: Avoid repeated counting of checksum errors due to peeking
>
> Currently it is possible for two processes to peek on the same socket
> and end up incrementing the error counter twice for the same packet.
>
> This patch fixes it by making skb_kill_datagram return whether it
> succeeded in unlinking the packet and only incrementing the counter
> if it did.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks Herbert.
--
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