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-08-25 16:07:58 +02:00
2009-10-01 15:16:49 -07:00
2009-09-14 17:03:01 -07:00
2009-09-01 17:40:57 -07:00
2009-03-28 15:01:36 +11:00
2008-07-16 20:20:11 -07:00
2009-10-07 03:18:17 -07:00
2009-09-14 17:03:01 -07:00
2009-05-18 15:16:38 -07:00
2009-05-18 15:16:37 -07:00
2009-05-18 15:16:37 -07:00
2009-05-20 17:26:23 -07:00
2009-05-18 15:16:37 -07:00
2009-08-28 23:57:15 -07:00
2009-09-14 17:03:01 -07:00
2009-09-15 02:37:40 -07:00
2009-09-30 16:12:20 -07:00
2009-06-18 00:29:12 -07:00
2009-02-26 23:13:35 -08:00
2009-02-01 12:31:33 -08:00
2008-11-19 15:44:53 -08:00
2009-08-29 00:00:35 -07:00
2008-11-03 00:23:42 -08:00
2009-06-03 02:51:04 -07:00
2009-06-09 00:19:37 -07:00
2009-09-24 15:39:22 -07:00
2009-09-14 17:03:01 -07:00
2009-06-03 02:51:04 -07:00
2009-10-01 15:16:49 -07:00
2009-09-30 16:12:20 -07:00
2009-09-14 17:03:01 -07:00
2009-05-19 15:36:17 -07:00
2009-09-24 15:39:22 -07:00
2009-09-30 16:12:20 -07:00
2009-06-13 23:36:32 -07:00
2008-10-07 08:38:24 +11:00
2009-06-03 02:51:04 -07:00
2009-04-27 02:45:02 -07:00
2009-09-14 17:03:01 -07:00
2009-09-30 16:12:20 -07:00
2009-09-24 07:21:04 -07:00
2009-06-24 15:13:48 +09:00
2009-09-24 07:21:04 -07:00
2009-03-02 03:00:15 -08:00
2009-08-14 11:18:34 +10:00
2009-03-02 03:00:15 -08:00
2008-11-19 15:43:27 -08:00
2008-01-28 14:55:41 -08:00
2009-03-02 03:00:14 -08:00
2008-10-07 15:58:17 -07:00
2008-01-28 14:55:41 -08:00
2009-09-15 01:30:10 -07:00
2009-09-15 01:30:10 -07:00
2008-01-28 14:55:41 -08:00
2009-10-13 01:35:28 -07:00
2009-10-01 15:14:51 -07:00
2009-03-13 16:05:14 -07:00
2009-03-02 03:00:15 -08:00
2009-09-01 02:45:47 -07:00
2009-05-25 22:44:59 -07:00
2007-07-31 02:27:57 -07:00
2009-03-02 03:00:15 -08:00
2007-07-31 02:27:57 -07:00
2009-03-02 03:00:15 -08:00
2009-10-02 09:46:05 -07:00
2009-09-14 17:03:01 -07:00
2009-09-30 16:12:20 -07:00
2009-10-13 03:16:54 -07:00
2009-09-14 17:03:01 -07:00
2009-06-03 02:51:04 -07:00
2008-08-06 02:39:30 -07:00
2007-10-10 16:55:54 -07:00
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2009-08-04 20:18:33 -07:00
2008-11-25 01:05:54 -08:00
2008-01-31 19:27:24 -08:00