[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20091013.031814.100807531.davem@davemloft.net>
Date: Tue, 13 Oct 2009 03:18:14 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: herbert@...dor.apana.org.au, rjw@...k.pl,
Ralf.Hildebrandt@...rite.de, linux-kernel@...r.kernel.org,
kernel-testers@...r.kernel.org, netdev@...r.kernel.org,
yjwei@...fujitsu.com, tyasui@...hat.com, haoki@...hat.com
Subject: Re: [PATCH] udp: Fix udp_poll() and ioctl()
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 09 Oct 2009 16:43:40 +0200
> [PATCH] udp: Fix udp_poll()
>
> udp_poll() can in some circumstances drop frames with incorrect checksums.
>
> Problem is we now have to lock the socket while dropping frames, or risk
> sk_forward corruption.
>
> This bug is present since commit 95766fff6b9a78d1
> ([UDP]: Add memory accounting.)
>
> While we are at it, we can correct ioctl(SIOCINQ) to also drop bad frames.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Looks good, applied, thanks Eric!
--
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