[PATCH 4.14 230/496] IB/core: Fix possible crash to access NULL netdev