[PATCH 4.9 190/329] IB/core: Fix possible crash to access NULL netdev