Eric Dumazet 8558467201 udp: Fix udp_poll() and ioctl()
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-10-13 03:16:54 -07:00
..
2009-09-23 22:26:32 +09:30
2009-10-05 02:22:23 -07:00
2009-09-26 20:16:15 -07:00
2009-10-13 03:16:54 -07:00
2009-09-30 16:41:34 -07:00
2009-10-11 23:03:47 -07:00
2009-09-24 15:39:14 -07:00