Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
authorJakub Kicinski <kuba@kernel.org>
Thu, 3 Mar 2022 19:55:12 +0000 (11:55 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 3 Mar 2022 19:55:12 +0000 (11:55 -0800)
net/batman-adv/hard-interface.c
  commit 690bb6fb64f5 ("batman-adv: Request iflink once in batadv-on-batadv check")
  commit 6ee3c393eeb7 ("batman-adv: Demote batadv-on-batadv skip error message")
https://lore.kernel.org/all/20220302163049.101957-1-sw@simonwunderlich.de/

net/smc/af_smc.c
  commit 4d08b7b57ece ("net/smc: Fix cleanup when register ULP fails")
  commit 462791bbfa35 ("net/smc: add sysctl interface for SMC")
https://lore.kernel.org/all/20220302112209.355def40@canb.auug.org.au/

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
32 files changed:
1  2 
MAINTAINERS
drivers/net/ethernet/ibm/ibmvnic.c
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/iavf/iavf.h
drivers/net/ethernet/intel/iavf/iavf_main.c
drivers/net/ethernet/intel/iavf/iavf_virtchnl.c
drivers/net/ethernet/intel/ixgbe/ixgbe_xsk.c
drivers/net/ethernet/samsung/sxgbe/sxgbe_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/ptp/ptp_ocp.c
drivers/tty/serial/sc16is7xx.c
include/net/bluetooth/hci_core.h
include/net/ndisc.h
net/batman-adv/hard-interface.c
net/bluetooth/hci_core.c
net/bluetooth/hci_sync.c
net/bluetooth/mgmt.c
net/core/skbuff.c
net/dsa/dsa2.c
net/ipv4/tcp.c
net/ipv6/addrconf.c
net/ipv6/ip6_output.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/rx.c
net/netfilter/core.c
net/netfilter/nfnetlink_queue.c
net/sched/act_ct.c
net/smc/af_smc.c
net/smc/smc_core.c
net/xfrm/xfrm_interface.c
tools/testing/selftests/net/mptcp/mptcp_connect.sh

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -162,12 -162,15 +162,15 @@@ static bool batadv_is_on_batman_iface(c
  
        parent_net = batadv_getlink_net(net_dev, net);
  
+       /* iflink to itself, most likely physical device */
+       if (net == parent_net && iflink == net_dev->ifindex)
+               return false;
        /* recurse over the parent device */
-       parent_dev = __dev_get_by_index((struct net *)parent_net,
-                                       dev_get_iflink(net_dev));
+       parent_dev = __dev_get_by_index((struct net *)parent_net, iflink);
 -      /* if we got a NULL parent_dev there is something broken.. */
        if (!parent_dev) {
 -              pr_err("Cannot find parent device\n");
 +              pr_warn("Cannot find parent device. Skipping batadv-on-batadv check for %s\n",
 +                      net_dev->name);
                return false;
        }
  
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc net/dsa/dsa2.c
Simple merge
diff --cc net/ipv4/tcp.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -3287,20 -3087,14 +3293,22 @@@ static int __init smc_init(void
        rc = tcp_register_ulp(&smc_ulp_ops);
        if (rc) {
                pr_err("%s: tcp_ulp_register fails with %d\n", __func__, rc);
-               goto out_sock;
+               goto out_ib;
        }
  
 +      rc = smc_sysctl_init();
 +      if (rc) {
 +              pr_err("%s: sysctl_init fails with %d\n", __func__, rc);
 +              goto out_ulp;
 +      }
 +
        static_branch_enable(&tcp_have_smc);
        return 0;
  
 +out_ulp:
 +      tcp_unregister_ulp(&smc_ulp_ops);
+ out_ib:
+       smc_ib_unregister_client();
  out_sock:
        sock_unregister(PF_SMC);
  out_proto6:
Simple merge
Simple merge