Uwe Kleine-König
9c706a49d6
net: ipconfig: fix use after free
...
ic_close_devs() calls kfree() for all devices's ic_device. Since commit
2647cffb2bc6 ("net: ipconfig: Support using "delayed" DHCP replies")
the active device's ic_device is still used however to print the
ipconfig summary which results in an oops if the memory is already
changed. So delay freeing until after the autoconfig results are
reported.
Fixes: 2647cffb2bc6 ("net: ipconfig: Support using "delayed" DHCP replies")
Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-08-10 14:04:23 -07:00
..
2016-07-18 21:35:23 +02:00
2016-07-11 22:44:26 -07:00
2015-08-25 13:38:50 -07:00
2016-04-27 22:48:24 -04:00
2016-07-07 10:15:34 +10:00
2015-07-29 22:44:04 -07:00
2016-07-09 18:12:25 -04:00
2016-06-23 11:52:00 -04:00
2016-08-09 14:57:39 -07:00
2015-07-24 22:46:11 -07:00
2016-06-08 11:36:02 -07:00
2016-07-11 13:41:09 -07:00
2016-08-06 00:10:05 -04:00
2016-06-07 23:51:14 -07:00
2016-06-30 05:03:36 -04:00
2016-05-20 18:03:15 -04:00
2016-04-27 22:48:23 -04:00
2016-08-08 16:04:39 -07:00
2016-07-07 10:35:06 +02:00
2016-06-28 05:25:04 -04:00
2016-06-05 22:56:42 -04:00
2016-05-04 00:52:29 -04:00
2016-07-07 10:35:06 +02:00
2015-08-28 13:32:36 -07:00
2016-07-19 16:40:22 -07:00
2016-04-27 22:48:23 -04:00
2016-06-30 05:03:36 -04:00
2016-05-11 19:31:40 -04:00
2016-03-01 17:18:44 -05:00
2016-07-19 16:40:22 -07:00
2016-05-16 13:46:23 -04:00
2016-07-19 16:40:22 -07:00
2016-06-15 21:39:59 -07:00
2016-03-31 08:59:56 +02:00
2015-04-03 12:11:15 -04:00
2016-08-10 14:04:23 -07:00
2016-07-09 17:45:56 -04:00
2016-07-26 15:18:31 -07:00
2016-06-10 23:07:49 -07:00
2016-06-10 23:07:49 -07:00
2015-09-29 20:21:32 +02:00
2016-04-04 15:50:30 -04:00
2016-02-16 20:42:54 -05:00
2014-09-19 17:15:31 -04:00
2016-04-04 15:50:30 -04:00
2016-05-09 22:33:52 -04:00
2016-04-27 22:48:24 -04:00
2016-05-23 14:32:06 -07:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2015-09-25 13:00:38 -07:00
2016-05-11 14:43:19 -04:00
2016-06-14 23:46:30 -07:00
2015-12-15 23:26:52 -05:00
2016-05-02 17:02:25 -04:00
2015-07-09 14:22:52 -07:00
2016-05-11 14:43:19 -04:00
2015-07-09 14:22:52 -07:00
2016-05-11 14:43:19 -04:00
2016-07-29 17:38:46 -07:00
2016-07-01 04:02:55 -04:00
2016-05-11 14:43:19 -04:00
2016-04-23 20:13:24 -04:00
2016-05-02 17:02:25 -04:00
2016-06-10 23:07:49 -07:00
2016-05-20 18:03:15 -04:00
2016-07-30 21:21:57 -07:00
2016-03-01 17:18:44 -05:00
2016-05-02 17:02:25 -04:00
2015-07-09 14:22:52 -07:00
2016-07-15 23:18:14 -07:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-05-11 14:43:19 -04:00
2016-07-01 04:02:55 -04:00
2016-07-11 13:27:06 -07:00
2016-04-04 22:11:19 -04:00
2015-03-02 13:06:31 -05:00
2016-05-20 18:03:15 -04:00
2016-06-17 20:23:32 -07:00
2016-07-25 21:40:33 -07:00
2014-05-23 16:28:53 -04:00
2015-09-17 17:18:37 -07:00
2013-12-26 13:43:21 -05:00
2015-03-25 14:07:04 -04:00
2015-10-24 06:54:12 -07:00
2016-06-16 22:06:30 -07:00
2014-06-30 07:49:47 +02:00
2013-12-18 16:58:20 -05:00
2013-05-31 17:19:05 -07:00