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