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-02-26 23:13:32 -08:00
2009-04-11 01:43:17 -07:00
2009-03-17 13:10:52 -07:00
2009-03-31 01:14:44 +04:00
2009-03-31 01:14:44 +04:00
2009-03-27 17:23:42 -07:00
2009-04-01 08:59:10 -07:00
2009-03-26 01:22:01 -07:00
2009-03-31 01:14:44 +04:00
2009-04-11 01:43:10 -07:00
2009-01-04 17:29:21 -08:00
2009-03-02 03:07:23 -08:00
2009-03-21 13:36:17 -07:00
2009-03-21 19:06:54 -07:00
2009-03-10 05:22:43 -07:00
2008-11-23 23:24:32 -08:00
2009-04-11 01:53:06 -07:00
2009-04-11 01:53:06 -07:00
2009-03-21 19:06:51 -07:00
2009-04-01 08:59:10 -07:00
2009-02-26 23:07:37 -08:00
2009-02-26 23:07:32 -08:00
2008-01-28 14:56:52 -08:00
2009-03-31 01:14:44 +04:00
2009-03-30 15:22:01 +02:00
2009-04-06 17:47:20 +02:00
2009-03-28 15:01:37 +11:00
2009-03-26 15:23:24 -07:00
2009-03-27 17:22:55 -07:00
2009-03-13 12:09:28 -07:00
2009-03-30 15:22:01 +02:00
2009-04-02 00:52:22 -07:00
2009-01-04 17:11:24 -08:00
2009-03-27 00:28:21 -07:00
2009-02-06 21:50:52 -08:00
2009-03-21 13:36:17 -07:00
2009-03-31 01:14:44 +04:00
2009-04-06 13:25:56 -07:00
2009-03-18 19:11:29 -07:00
2009-03-31 23:00:26 -04:00
2009-02-26 23:13:36 -08:00
2009-03-30 15:22:01 +02:00
2009-03-27 20:13:23 -04:00
2009-03-27 00:28:21 -07:00
2009-03-27 00:23:04 -07:00
2009-02-15 22:43:35 -08:00
2009-03-30 15:22:01 +02:00
2009-02-26 23:43:35 -08:00
2009-04-06 18:05:43 -07:00
2009-03-16 16:23:30 +01:00