1. 17 Dec, 2008 1 commit
    • Krzysztof Halasa's avatar
      net: kernel BUG at drivers/net/phy/mdio_bus.c:165! · e8e5752d
      Krzysztof Halasa authored
      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: default avatarKrzysztof Halasa <khc@pm.waw.pl>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      e8e5752d
  2. 16 Dec, 2008 13 commits
  3. 15 Dec, 2008 8 commits
  4. 14 Dec, 2008 2 commits
  5. 13 Dec, 2008 7 commits
  6. 12 Dec, 2008 7 commits
  7. 11 Dec, 2008 2 commits