Files
linux-legacy/net
Eric Dumazet f2f3a6990f udp: Fix udp_poll() and ioctl()
[ Upstream commit 85584672012ee0c3b7b8e033a1ecf7c11878e45f ]

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 95766fff6b
([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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-08 10:21:58 -08:00
..
2009-05-25 01:53:53 -07:00
2009-10-12 12:40:31 -07:00
2009-10-12 12:40:27 -07:00
2009-01-04 17:29:21 -08:00
2009-08-06 13:08:40 -07:00
2009-05-25 01:53:53 -07:00
2009-12-08 10:21:58 -08:00
2009-07-12 12:22:34 -07:00
2009-08-23 22:55:51 -07:00
2009-08-17 18:05:32 -07:00
2009-08-05 12:14:09 -07:00
2009-12-08 10:21:46 -08:00
2009-08-06 13:08:38 -07:00
2009-07-12 12:22:34 -07:00
2009-07-12 12:22:34 -07:00