Vlad Yasevich
499923c7a3
ipv6: Fix NULL pointer dereference with time-wait sockets
Commit b2f5e7cd3dee2ed721bf0675e1a1ddebb849aee6
(ipv6: Fix conflict resolutions during ipv6 binding)
introduced a regression where time-wait sockets were
not treated correctly. This resulted in the following:
BUG: unable to handle kernel NULL pointer dereference at 0000000000000062
IP: [<ffffffff805d7d61>] ipv4_rcv_saddr_equal+0x61/0x70
...
Call Trace:
[<ffffffffa033847b>] ipv6_rcv_saddr_equal+0x1bb/0x250 [ipv6]
[<ffffffffa03505a8>] inet6_csk_bind_conflict+0x88/0xd0 [ipv6]
[<ffffffff805bb18e>] inet_csk_get_port+0x1ee/0x400
[<ffffffffa0319b7f>] inet6_bind+0x1cf/0x3a0 [ipv6]
[<ffffffff8056d17c>] ? sockfd_lookup_light+0x3c/0xd0
[<ffffffff8056ed49>] sys_bind+0x89/0x100
[<ffffffff80613ea2>] ? trace_hardirqs_on_thunk+0x3a/0x3c
[<ffffffff8020bf9b>] system_call_fastpath+0x16/0x1b
Tested-by: Brian Haley <brian.haley@hp.com>
Tested-by: Ed Tomlinson <edt@aei.ca>
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-04-11 01:53:06 -07:00
..
2008-10-22 18:54:47 -05:00
2009-02-27 06:14:43 +01:00
2008-12-17 15:44:58 -08:00
2008-12-25 13:39:04 +01:00
2009-04-06 17:47:20 +02:00
2009-03-25 21:05:46 +01:00
2009-01-26 21:03:35 -08:00
2009-03-21 13:41:09 -07:00
2008-09-12 16:30:20 -07:00
2008-07-14 22:42:19 -07:00
2008-01-28 15:11:17 -08:00
2009-03-24 19:49:11 -07:00
2008-11-26 15:32:27 -08:00
2008-01-31 19:27:33 -08:00
2009-01-21 14:01:59 -08:00
2008-02-12 17:53:34 -08:00
2009-03-24 23:32:03 -07:00
2009-03-27 20:13:13 -04:00
2008-11-19 15:44:53 -08:00
2009-03-28 15:01:36 +11:00
2008-07-19 22:35:47 -07:00
2008-12-21 20:09:50 -08:00
2008-11-27 00:12:47 -08:00
2008-11-27 23:04:13 -08:00
2009-03-21 19:06:54 -07:00
2008-01-28 14:55:58 -08:00
2008-11-25 17:35:18 -08:00
2008-01-31 19:27:02 -08:00
2009-03-27 00:16:21 -07:00
2008-07-05 19:01:28 -07:00
2008-11-25 17:35:18 -08:00
2008-07-05 21:26:57 -07:00
2008-11-26 15:24:32 -08:00
2008-06-03 16:36:54 -07:00
2008-07-18 04:04:22 -07:00
2009-03-27 20:12:52 -04:00
2009-03-21 13:29:05 -07:00
2008-10-07 12:41:01 -07:00
2008-04-03 14:28:30 -07:00
2008-08-28 02:53:51 -07:00
2009-02-14 22:58:35 -08:00
2009-02-26 23:13:35 -08:00
2009-02-01 12:31:33 -08:00
2008-10-01 07:46:49 -07:00
2008-11-16 19:40:17 -08:00
2008-06-11 21:00:38 -07:00
2008-03-04 13:48:30 -08:00
2008-08-14 15:33:21 -07:00
2008-06-11 21:00:38 -07:00
2008-02-05 02:54:16 -08:00
2009-02-14 22:58:35 -08:00
2009-02-15 22:43:38 -08:00
2008-07-25 02:54:40 -07:00
2008-06-11 21:00:38 -07:00
2008-10-09 12:03:17 -07:00
2009-02-14 22:58:35 -08:00
2009-02-14 22:58:35 -08:00
2008-06-16 18:50:49 -07:00
2008-11-21 11:42:55 -05:00
2008-02-29 11:46:17 -08:00
2008-03-31 21:02:47 -07:00
2008-03-31 21:02:47 -07:00
2008-03-28 16:28:36 -07:00
2009-03-27 20:13:23 -04:00
2008-04-12 13:43:22 +09:00
2009-01-04 16:04:39 -08:00
2008-11-12 00:54:54 -08:00
2009-03-03 01:14:27 -08:00
2009-01-06 11:38:15 -07:00
2008-01-28 14:53:38 -08:00
2009-03-28 15:01:37 +11:00
2009-03-25 18:26:30 +01:00
2009-01-21 14:02:01 -08:00
2008-11-16 23:01:49 -08:00
2009-02-01 01:12:42 -08:00
2009-01-08 10:40:57 -08:00
2009-03-21 19:06:50 -07:00
2008-03-22 16:56:51 -07:00
2008-01-28 14:54:29 -08:00
2008-11-21 16:45:22 -08:00
2008-06-17 17:08:32 -07:00
2008-10-01 07:35:39 -07:00
2008-04-16 00:46:52 -07:00
2009-03-20 01:33:32 -07:00
2008-11-14 11:29:12 +11:00
2008-06-11 21:00:38 -07:00
2009-02-24 03:50:29 -08:00
2008-07-05 21:25:39 -07:00
2009-04-02 16:31:44 -07:00
2008-11-21 16:45:22 -08:00
2009-02-14 22:58:35 -08:00
2009-04-11 01:53:06 -07:00
2008-10-29 01:41:45 -07:00
2008-06-16 18:32:46 -07:00
2009-01-11 00:06:32 -08:00
2009-02-27 14:52:59 -05:00
2008-11-25 18:00:48 -08:00