]> git.ipfire.org Git - people/arne_f/kernel.git/blobdiff - drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
Merge tag 'v4.9.32' into linux-4.9.x-grsecurity-3.1
[people/arne_f/kernel.git] / drivers / net / ethernet / chelsio / cxgb4 / cxgb4_main.c
index e3484556679ecdcefa71ca646466dda0db2dc923..350308f8dac6cb5f44027d8449e8b30a892b2026 100644 (file)
@@ -2226,10 +2226,14 @@ static int cxgb_up(struct adapter *adap)
                if (err)
                        goto irq_err;
        }
+
+       mutex_lock(&uld_mutex);
        enable_rx(adap);
        t4_sge_start(adap);
        t4_intr_enable(adap);
        adap->flags |= FULL_INIT_DONE;
+       mutex_unlock(&uld_mutex);
+
        notify_ulds(adap, CXGB4_STATE_UP);
 #if IS_ENABLED(CONFIG_IPV6)
        update_clip(adap);