Krzysztof Halasa
e8e5752dc0
net: kernel BUG at drivers/net/phy/mdio_bus.c:165!
...
kernel BUG at drivers/net/phy/mdio_bus.c:165!
Unable to handle kernel NULL pointer dereference at virtual address 00000000
How?
mdiobus_alloc() sets bus->state = MDIOBUS_ALLOCATED.
mdiobus_register() sets bus->state = MDIOBUS_REGISTERED but then can
fail (mdiobus_scan()) returning an error to the caller.
The caller aborts correctly with mdiobus_free() which does:
if (bus->state == MDIOBUS_ALLOCATED) {
kfree(bus);
return;
}
BUG_ON(bus->state != MDIOBUS_UNREGISTERED);
Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-12-17 00:24:13 -08:00
..
2008-10-31 00:47:56 -04:00
2008-11-14 18:18:55 -05:00
2008-11-20 04:18:25 -08:00
2008-10-31 00:46:12 -04:00
2008-11-23 15:47:24 -08:00
2008-10-29 17:29:44 +01:00
2008-11-12 10:56:31 -08:00
2008-11-16 01:35:56 -08:00
2008-12-11 21:28:11 -08:00
2008-10-27 14:49:55 -04:00
2008-11-03 15:23:02 -05:00
2008-10-16 16:52:05 +02:00
2008-10-27 14:49:58 -04:00
2008-11-23 15:46:55 -08:00
2008-11-01 21:30:50 -07:00
2008-12-02 15:55:05 -08:00
2008-12-01 11:01:54 -08:00
2008-11-11 03:49:53 -05:00
2008-12-02 15:55:05 -08:00
2008-12-17 00:24:13 -08:00
2008-10-22 07:00:49 -04:00
2008-11-07 03:33:45 -05:00
2008-10-27 14:49:02 -04:00
2008-11-20 01:48:46 -08:00
2008-10-30 23:54:35 -07:00
2008-12-05 09:18:35 -05:00
2008-10-16 16:52:05 +02:00
2008-11-07 03:33:44 -05:00
2008-10-22 07:00:28 -04:00
2008-10-22 07:00:28 -04:00
2008-10-31 00:47:43 -04:00
2008-10-22 06:22:08 -04:00
2008-12-03 00:36:15 -08:00
2008-12-03 00:36:15 -08:00
2008-11-03 16:46:19 -08:00
2008-11-03 16:46:58 -08:00
2008-10-16 11:21:32 -07:00
2008-10-22 06:22:15 -04:00
2008-11-16 01:45:24 -08:00
2008-12-16 01:48:29 -08:00
2008-10-15 11:10:00 -06:00
2008-10-22 07:26:49 -04:00
2008-10-31 00:59:46 -04:00
2008-10-31 00:59:46 -04:00
2008-11-14 18:18:30 -05:00
2008-11-25 21:05:51 -08:00
2008-11-19 15:54:38 -08:00
2008-11-19 15:50:59 -08:00
2008-11-13 22:37:27 -07:00
2008-10-31 00:00:33 -07:00
2008-11-26 15:30:48 -08:00
2008-11-21 16:33:25 -08:00
2008-11-20 01:39:52 -08:00
2008-12-03 22:18:59 -08:00
2008-11-14 14:47:29 -08:00
2008-11-14 14:44:08 -08:00
2008-10-16 12:40:26 -07:00
2008-10-30 23:35:02 -07:00
2008-11-28 22:12:02 -08:00
2008-10-17 02:38:35 +11:00
2008-11-16 01:38:18 -08:00
2008-10-26 09:35:05 -07:00
2008-11-20 01:28:30 -08:00
2008-10-22 07:00:34 -04:00
2008-11-23 15:46:55 -08:00
2008-11-30 10:03:37 -08:00
2008-11-30 10:03:37 -08:00
2008-10-22 06:22:13 -04:00
2008-11-23 15:46:55 -08:00
2008-12-16 15:42:20 -08:00
2008-12-09 15:39:14 -08:00
2008-12-16 15:22:41 -08:00
2008-11-01 09:49:46 -07:00
2008-11-14 18:18:17 -05:00
2008-11-16 00:39:35 -08:00
2008-11-30 10:03:38 -08:00
2008-10-21 07:58:06 -07:00