Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
The new route handling in ip_mc_finish_output() from 'net' overlapped with the new support for returning congestion notifications from BPF programs. In order to handle this I had to take the dev_loopback_xmit() calls out of the switch statement. The aquantia driver conflicts were simple overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -2020,7 +2020,7 @@ static int __init smc_init(void)
|
||||
|
||||
rc = smc_pnet_init();
|
||||
if (rc)
|
||||
return rc;
|
||||
goto out_pernet_subsys;
|
||||
|
||||
rc = smc_llc_init();
|
||||
if (rc) {
|
||||
@@ -2071,6 +2071,9 @@ out_proto:
|
||||
proto_unregister(&smc_proto);
|
||||
out_pnet:
|
||||
smc_pnet_exit();
|
||||
out_pernet_subsys:
|
||||
unregister_pernet_subsys(&smc_net_ops);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
@@ -652,7 +652,10 @@ create:
|
||||
rc = smc_lgr_create(smc, ini);
|
||||
if (rc)
|
||||
goto out;
|
||||
lgr = conn->lgr;
|
||||
write_lock_bh(&lgr->conns_lock);
|
||||
smc_lgr_register_conn(conn); /* add smc conn to lgr */
|
||||
write_unlock_bh(&lgr->conns_lock);
|
||||
}
|
||||
conn->local_tx_ctrl.common.type = SMC_CDC_MSG_TYPE;
|
||||
conn->local_tx_ctrl.len = SMC_WR_TX_SIZE;
|
||||
|
Reference in New Issue
Block a user