MFC r180173.   In device detach don't access ifnet structure unless device is   attached. This fixes NULL pointer dereference when polling(9) is   active and unsupported hardware is detected in device attach.
MFC r180173.
  In device detach don't access ifnet structure unless device is
  attached. This fixes NULL pointer dereference when polling(9) is
  active and unsupported hardware is detected in device attach.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase