Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
authorDavid S. Miller <davem@davemloft.net>
Sun, 20 Oct 2019 05:51:25 +0000 (22:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 20 Oct 2019 17:43:00 +0000 (10:43 -0700)
Several cases of overlapping changes which were for the most
part trivially resolvable.

Signed-off-by: David S. Miller <davem@davemloft.net>
36 files changed:
1  2 
MAINTAINERS
drivers/net/dsa/microchip/ksz9477_i2c.c
drivers/net/dsa/sja1105/sja1105.h
drivers/net/dsa/sja1105/sja1105_ptp.h
drivers/net/ethernet/broadcom/genet/bcmgenet.c
drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c
drivers/net/ethernet/hisilicon/hns3/hnae3.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
drivers/net/ethernet/nxp/lpc_eth.c
drivers/net/ethernet/pensando/ionic/ionic_lif.h
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
drivers/net/ethernet/stmicro/stmmac/stmmac_selftests.c
drivers/net/phy/phylink.c
drivers/net/tun.c
drivers/net/wireless/mac80211_hwsim.c
include/linux/skbuff.h
include/net/net_namespace.h
include/net/sock.h
net/core/filter.c
net/core/sock.c
net/ipv4/tcp.c
net/ipv4/tcp_ipv4.c
net/rxrpc/peer_object.c
net/smc/smc_core.c
net/tipc/socket.c
net/vmw_vsock/virtio_transport_common.c
net/wireless/nl80211.c
tools/lib/bpf/Makefile
tools/lib/bpf/libbpf_internal.h
tools/lib/bpf/xsk.c
tools/testing/selftests/bpf/test_flow_dissector.sh

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -94,14 -102,14 +103,16 @@@ struct net 
  
        struct uevent_sock      *uevent_sock;           /* uevent socket */
  
-       struct list_head        dev_base_head;
        struct hlist_head       *dev_name_head;
        struct hlist_head       *dev_index_head;
-       unsigned int            dev_base_seq;   /* protected by rtnl_mutex */
-       int                     ifindex;
-       unsigned int            dev_unreg_count;
 +      struct raw_notifier_head        netdev_chain;
 +
+       /* Note that @hash_mix can be read millions times per second,
+        * it is critical that it is on a read_mostly cache line.
+        */
+       u32                     hash_mix;
+       struct net_device       *loopback_dev;          /* The loopback */
  
        /* core fib_rules */
        struct list_head        rules_ops;
Simple merge
Simple merge
diff --cc net/core/sock.c
Simple merge
diff --cc net/ipv4/tcp.c
Simple merge
Simple merge
@@@ -231,7 -230,6 +231,7 @@@ struct rxrpc_peer *rxrpc_alloc_peer(str
                        peer->cong_cwnd = 3;
                else
                        peer->cong_cwnd = 4;
-               trace_rxrpc_peer(peer, rxrpc_peer_new, 1, here);
++              trace_rxrpc_peer(peer->debug_id, rxrpc_peer_new, 1, here);
        }
  
        _leave(" = %p", peer);
Simple merge
Simple merge
Simple merge
@@@ -133,9 -143,7 +143,9 @@@ LIB_TARGET := $(addprefix $(OUTPUT),$(L
  LIB_FILE      := $(addprefix $(OUTPUT),$(LIB_FILE))
  PC_FILE               := $(addprefix $(OUTPUT),$(PC_FILE))
  
- GLOBAL_SYM_COUNT = $(shell readelf -s --wide $(BPF_IN) | \
 +TAGS_PROG := $(if $(shell which etags 2>/dev/null),etags,ctags)
 +
+ GLOBAL_SYM_COUNT = $(shell readelf -s --wide $(BPF_IN_SHARED) | \
                           cut -d "@" -f1 | sed 's/_v[0-9]_[0-9]_[0-9].*//' | \
                           awk '/GLOBAL/ && /DEFAULT/ && !/UND/ {print $$8}' | \
                           sort -u | wc -l)
@@@ -149,7 -165,7 +159,7 @@@ all: fixde
  
  all_cmd: $(CMD_TARGETS) check
  
- $(BPF_IN): force elfdep bpfdep bpf_helper_defs.h
 -$(BPF_IN_SHARED): force elfdep bpfdep
++$(BPF_IN_SHARED): force elfdep bpfdep bpf_helper_defs.h
        @(test -f ../../include/uapi/linux/bpf.h -a -f ../../../include/uapi/linux/bpf.h && ( \
        (diff -B ../../include/uapi/linux/bpf.h ../../../include/uapi/linux/bpf.h >/dev/null) || \
        echo "Warning: Kernel ABI header at 'tools/include/uapi/linux/bpf.h' differs from latest version at 'include/uapi/linux/bpf.h'" >&2 )) || true
        @(test -f ../../include/uapi/linux/if_xdp.h -a -f ../../../include/uapi/linux/if_xdp.h && ( \
        (diff -B ../../include/uapi/linux/if_xdp.h ../../../include/uapi/linux/if_xdp.h >/dev/null) || \
        echo "Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h' differs from latest version at 'include/uapi/linux/if_xdp.h'" >&2 )) || true
-       $(Q)$(MAKE) $(build)=libbpf
+       $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(SHARED_OBJDIR) CFLAGS="$(CFLAGS) $(SHLIB_FLAGS)"
 -$(BPF_IN_STATIC): force elfdep bpfdep
++$(BPF_IN_STATIC): force elfdep bpfdep bpf_helper_defs.h
+       $(Q)$(MAKE) $(build)=libbpf OUTPUT=$(STATIC_OBJDIR)
  
 +bpf_helper_defs.h: $(srctree)/include/uapi/linux/bpf.h
 +      $(Q)$(srctree)/scripts/bpf_helpers_doc.py --header              \
 +              --file $(srctree)/include/uapi/linux/bpf.h > bpf_helper_defs.h
 +
  $(OUTPUT)libbpf.so: $(OUTPUT)libbpf.so.$(LIBBPF_VERSION)
  
- $(OUTPUT)libbpf.so.$(LIBBPF_VERSION): $(BPF_IN)
+ $(OUTPUT)libbpf.so.$(LIBBPF_VERSION): $(BPF_IN_SHARED)
 -      $(QUIET_LINK)$(CC) --shared -Wl,-soname,libbpf.so.$(LIBBPF_MAJOR_VERSION) \
 -                                  -Wl,--version-script=$(VERSION_SCRIPT) $^ -lelf -o $@
 +      $(QUIET_LINK)$(CC) $(LDFLAGS) \
 +              --shared -Wl,-soname,libbpf.so.$(LIBBPF_MAJOR_VERSION) \
 +              -Wl,--version-script=$(VERSION_SCRIPT) $^ -lelf -o $@
        @ln -sf $(@F) $(OUTPUT)libbpf.so
        @ln -sf $(@F) $(OUTPUT)libbpf.so.$(LIBBPF_MAJOR_VERSION)
  
- $(OUTPUT)libbpf.a: $(BPF_IN)
+ $(OUTPUT)libbpf.a: $(BPF_IN_STATIC)
        $(QUIET_LINK)$(RM) $@; $(AR) rcs $@ $^
  
 -$(OUTPUT)test_libbpf: test_libbpf.cpp $(OUTPUT)libbpf.a
 -      $(QUIET_LINK)$(CXX) $(INCLUDES) $^ -lelf -o $@
 +$(OUTPUT)test_libbpf: test_libbpf.c $(OUTPUT)libbpf.a
 +      $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) $(INCLUDES) $^ -lelf -o $@
  
  $(OUTPUT)libbpf.pc:
        $(QUIET_GEN)sed -e "s|@PREFIX@|$(prefix)|" \
@@@ -259,9 -268,9 +272,10 @@@ config-clean
        $(Q)$(MAKE) -C $(srctree)/tools/build/feature/ clean >/dev/null
  
  clean:
-       $(call QUIET_CLEAN, libbpf) $(RM) $(CMD_TARGETS) \
 -      $(call QUIET_CLEAN, libbpf) $(RM) -rf $(TARGETS) $(CXX_TEST_TARGET) \
++      $(call QUIET_CLEAN, libbpf) $(RM) -rf $(CMD_TARGETS) \
                *.o *~ *.a *.so *.so.$(LIBBPF_MAJOR_VERSION) .*.d .*.cmd \
-               *.pc LIBBPF-CFLAGS bpf_helper_defs.h
 -              *.pc LIBBPF-CFLAGS $(SHARED_OBJDIR) $(STATIC_OBJDIR)
++              *.pc LIBBPF-CFLAGS bpf_helper_defs.h \
++              $(SHARED_OBJDIR) $(STATIC_OBJDIR)
        $(call QUIET_CLEAN, core-gen) $(RM) $(OUTPUT)FEATURE-DUMP.libbpf
  
  
Simple merge
Simple merge