[ofa-general] Re: [PATCHv2] IB/mthca: fix use-after-free

Roland Dreier rdreier at cisco.com
Thu May 17 11:40:22 PDT 2007


Thanks, applied.

 > Previous version would do NULL-pointer dereference
 > if pci_get_drvdata returns NULL. BTW, when does this happen?

I'm not positive why that check is there -- it dates back to Jack's
original device restart patch.

But I guess it's at least conceivable that an HCA is hot-unplugged
after a catastrophic error but before the restart task runs.

 - R.



More information about the general mailing list