David S. Miller
7b34ca2ac7
inet: Avoid potential NULL peer dereference.
...
We handle NULL in rt{,6}_set_peer but then our caller will try to pass
that NULL pointer into inet_putpeer() which isn't ready for it.
Fix this by moving the NULL check one level up, and then remove the
now unnecessary NULL check from inetpeer_ptr_set_peer().
Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-11 04:13:57 -07:00
..
2012-06-04 13:51:17 -04:00
2012-05-15 20:23:16 -04:00
2012-05-16 22:17:37 -04:00
2012-04-20 21:22:30 -04:00
2012-06-04 11:45:11 -04:00
2012-06-04 11:27:40 -04:00
2012-05-14 09:05:08 +02:00
2012-06-05 06:26:26 +03:00
2012-05-17 15:49:51 -04:00
2012-05-22 19:22:50 -07:00
2012-05-23 22:55:49 +02:00
2012-05-30 11:17:19 -07:00
2012-06-07 13:18:54 -07:00
2012-04-25 19:47:17 -04:00
2012-05-17 04:50:21 -04:00
2012-06-04 11:45:11 -04:00
2012-05-21 20:27:36 -07:00
2012-05-09 20:49:19 -04:00
2012-05-10 23:33:01 -04:00
2012-05-16 15:17:08 -04:00
2012-06-11 04:13:57 -07:00
2012-06-11 04:13:57 -07:00
2012-05-19 00:51:04 -04:00
2012-06-04 11:45:11 -04:00
2012-03-22 18:15:32 -07:00
2012-04-15 12:44:40 -04:00
2012-06-04 11:45:11 -04:00
2012-05-17 18:45:20 -04:00
2012-05-17 04:50:21 -04:00
2012-06-06 15:06:41 -07:00
2012-05-16 15:17:08 -04:00
2012-06-04 11:45:11 -04:00
2012-03-22 19:29:57 -04:00
2012-05-29 22:33:56 -04:00
2012-04-20 21:22:30 -04:00
2012-05-16 13:08:14 -04:00
2012-05-16 22:17:37 -04:00
2012-06-04 11:45:11 -04:00
2012-04-20 21:22:30 -04:00
2012-05-29 17:30:07 -04:00
2012-03-11 14:27:37 -04:00
2012-04-20 21:22:30 -04:00
2012-06-11 02:08:59 -07:00
2012-06-01 10:37:18 -04:00
2012-05-16 22:17:37 -04:00
2012-06-01 08:32:58 -07:00
2012-06-04 11:45:11 -04:00
2012-06-09 19:06:21 -07:00
2012-05-24 16:22:53 -04:00
2012-04-15 12:44:40 -04:00
2012-06-05 14:27:30 -04:00
2012-04-23 22:28:28 -04:00
2012-05-27 01:11:22 -04:00
2012-05-21 20:27:36 -07:00
2012-05-21 12:50:12 -07:00
2012-05-18 01:35:08 -04:00
2010-10-15 15:53:27 +02:00
2012-05-22 17:37:47 -07:00
2012-05-15 20:14:35 -04:00