James Chapman
199f7d24ae
lt2p: Fix possible WARN_ON from socket code when UDP socket is closed
...
If an L2TP daemon closes a tunnel socket while packets are queued in
the tunnel's reorder queue, a kernel warning is logged because the
socket is closed while skbs are still referencing it. The fix is to
purge the queue in the socket's release handler.
WARNING: at include/net/sock.h:351 udp_lib_unhash+0x41/0x68()
Pid: 12998, comm: openl2tpd Not tainted 2.6.25 #8
[<c0423c58>] warn_on_slowpath+0x41/0x51
[<c05d33a7>] udp_lib_unhash+0x41/0x68
[<c059424d>] sk_common_release+0x23/0x90
[<c05d16be>] udp_lib_close+0x8/0xa
[<c05d8684>] inet_release+0x42/0x48
[<c0592599>] sock_release+0x14/0x60
[<c059299f>] sock_close+0x29/0x30
[<c046ef52>] __fput+0xad/0x15b
[<c046f1d9>] fput+0x17/0x19
[<c046c8c4>] filp_close+0x50/0x5a
[<c046da06>] sys_close+0x69/0x9f
[<c04048ce>] syscall_call+0x7/0xb
Signed-off-by: James Chapman <jchapman@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-06-04 15:07:32 -07:00
..
2008-05-06 12:16:24 -04:00
2008-03-28 22:14:15 -04:00
2008-04-30 08:45:48 -07:00
2008-06-04 11:50:00 -07:00
2008-05-14 22:35:04 -07:00
2008-02-08 11:16:44 +01:00
2008-05-13 01:31:37 -04:00
2008-04-16 20:41:45 -04:00
2008-05-22 06:19:32 -04:00
2008-05-22 06:20:16 -04:00
2008-05-22 06:26:28 -04:00
2008-05-22 06:03:31 -04:00
2008-04-25 02:08:56 -04:00
2008-04-25 02:08:04 -04:00
2008-05-21 16:55:59 -07:00
2008-04-16 20:41:44 -04:00
2008-04-25 02:07:13 -04:00
2008-05-05 15:56:52 -07:00
2008-05-30 22:07:19 -04:00
2008-04-25 12:28:28 -07:00
2008-05-22 14:08:56 -04:00
2008-05-22 14:01:01 -04:00
2008-05-30 22:06:47 -04:00
2008-03-26 00:18:44 -04:00
2008-05-22 06:03:30 -04:00
2008-05-30 22:10:11 -04:00
2008-05-26 10:14:02 -07:00
2008-05-22 06:26:32 -04:00
2008-06-04 15:57:11 -04:00
2008-05-06 12:22:11 -04:00
2008-03-17 08:11:03 -04:00
2008-04-29 01:55:11 -04:00
2008-04-29 01:55:11 -04:00
2008-05-26 10:14:02 -07:00
2008-04-29 01:55:14 -04:00
2008-04-18 22:22:54 -04:00
2008-03-26 00:18:43 -04:00
2008-05-01 02:47:38 -07:00
2008-05-18 13:28:49 -07:00
2008-03-05 18:50:41 -08:00
2008-05-18 13:28:49 -07:00
2008-03-17 07:49:27 -04:00
2008-03-17 07:49:28 -04:00
2008-03-26 00:18:43 -04:00
2008-05-22 06:20:14 -04:00
2008-04-25 02:08:54 -04:00
2008-04-15 15:04:35 -04:00
2008-05-22 06:20:11 -04:00
2008-04-29 01:56:14 -04:00
2008-05-02 16:57:59 -07:00
2008-01-31 19:27:17 -08:00
2008-05-02 16:58:18 -07:00
2008-02-23 19:48:57 -08:00
2008-02-28 11:51:50 -08:00
2008-02-28 11:51:50 -08:00
2008-02-28 11:57:29 -08:00
2008-02-28 11:51:50 -08:00
2008-04-09 15:25:46 -07:00
2008-02-28 11:57:55 -08:00
2008-05-21 17:05:34 -07:00
2008-05-22 06:20:02 -04:00
2008-05-30 22:07:11 -04:00
2008-03-26 00:18:43 -04:00
2008-02-01 20:54:03 +11:00
2008-05-22 06:03:28 -04:00
2008-04-29 08:06:27 -07:00
2008-04-29 01:56:01 -04:00
2008-05-06 12:22:34 -04:00
2008-03-05 18:51:19 -08:00
2008-03-17 07:56:38 -04:00
2008-04-17 23:56:30 -07:00
2008-05-01 11:05:58 -06:00
2008-05-01 11:05:58 -06:00
2008-05-01 08:08:36 -07:00
2008-05-01 08:08:36 -07:00
2008-05-22 06:18:47 -04:00
2008-04-29 01:57:57 -04:00
2008-04-29 01:57:57 -04:00
2008-05-06 12:01:34 -04:00
2008-05-13 01:31:38 -04:00
2008-05-06 12:01:34 -04:00
2008-04-29 08:06:27 -07:00
2008-02-03 04:26:12 -08:00
2008-04-29 08:06:22 -07:00
2008-03-20 17:05:13 -07:00
2008-03-17 08:11:41 -04:00
2008-03-17 07:56:42 -04:00
2008-04-17 07:46:11 +10:00
2008-04-25 02:08:54 -04:00
2008-05-21 16:55:59 -07:00
2008-04-25 02:08:51 -04:00
2008-02-03 15:12:15 +02:00
2008-03-26 04:39:53 +09:00
2008-05-18 13:28:49 -07:00
2008-04-25 02:08:54 -04:00
2008-05-18 13:28:49 -07:00
2008-05-08 01:13:31 -07:00
2008-04-30 08:45:48 -07:00
2008-04-25 02:08:54 -04:00
2008-02-03 04:28:10 -08:00
2008-04-28 21:17:07 -07:00
2008-04-17 15:31:31 -04:00
2008-03-17 07:56:33 -04:00
2008-04-15 00:49:04 -07:00
2008-04-25 02:08:54 -04:00
2008-03-26 00:18:04 -04:00
2008-03-26 00:18:00 -04:00
2008-05-12 03:10:59 -07:00
2008-05-12 03:10:59 -07:00
2008-03-05 16:34:41 -06:00
2008-04-21 15:50:49 -07:00
2008-03-05 16:34:41 -06:00
2008-02-03 04:28:43 -08:00
2008-05-22 06:03:29 -04:00
2008-04-01 11:16:04 -07:00
2008-04-30 08:29:47 -07:00
2008-05-13 23:51:18 -07:00
2008-04-30 08:29:47 -07:00
2008-04-29 08:06:22 -07:00
2008-06-04 15:07:32 -07:00
2008-04-01 20:43:08 +11:00
2008-04-01 20:43:08 +11:00
2008-05-12 21:44:41 -04:00
2008-02-11 10:30:05 -05:00
2008-03-26 00:19:43 -04:00
2008-03-17 07:56:27 -04:00
2008-04-17 22:48:41 +02:00
2008-04-29 19:40:28 +10:00
2008-05-22 06:26:21 -04:00
2008-05-22 06:26:22 -04:00
2008-05-22 06:26:21 -04:00
2008-04-16 20:41:44 -04:00
2008-05-22 06:18:55 -04:00
2008-05-30 22:07:17 -04:00
2008-04-25 02:08:54 -04:00
2008-04-27 18:19:08 +02:00
2008-03-25 23:53:24 -04:00
2008-05-22 05:59:36 -04:00
2008-05-13 01:31:44 -04:00
2008-04-30 08:29:47 -07:00
2008-04-25 02:08:54 -04:00
2008-04-17 23:56:30 -07:00
2008-04-25 02:08:55 -04:00
2008-04-25 02:08:54 -04:00
2008-04-16 20:06:50 -04:00
2008-04-16 20:06:50 -04:00
2008-04-08 16:50:44 -07:00
2008-05-18 13:28:49 -07:00
2008-02-03 04:26:15 -08:00
2008-03-23 03:35:12 -07:00
2008-06-04 12:06:28 -07:00
2008-02-03 04:26:14 -08:00
2008-02-03 04:26:13 -08:00
2008-04-17 15:31:31 -04:00
2008-04-29 11:45:16 -07:00
2008-05-02 16:49:50 -07:00
2008-05-02 16:49:29 -07:00
2008-02-23 23:57:46 -05:00
2008-04-25 02:08:54 -04:00
2008-04-24 03:44:43 -07:00
2008-04-25 02:08:08 -04:00
2008-05-30 22:07:24 -04:00
2008-05-06 12:02:08 -04:00
2008-05-22 06:19:24 -04:00
2008-05-06 12:02:08 -04:00
2008-03-26 04:39:53 +09:00
2008-02-24 00:07:37 -05:00
2008-04-25 02:45:23 -04:00
2008-02-03 04:26:27 -08:00
2008-05-30 22:07:21 -04:00
2008-05-22 14:01:03 -04:00
2008-04-29 08:06:27 -07:00