• Kris Shannon's avatar
    Fix kernel NULL pointer dereference in xen-blkfront · a1a15ac5
    Kris Shannon authored
    When booting Xen Dom0 on a pre-release 3.2.1 hypervisor the system Oopses on a
    "Unable to handle kernel NULL pointer dereference" in xenwatch.
    
    From the backtrace it looks like backend_changed is calling bdget_disk
    with a NULL pointer.  Checking for NULL and returning ENODEV instead
    allows the kernel to boot.
    a1a15ac5
xen-blkfront.c 26.8 KB