1. 06 Aug, 2023 3 commits
  2. 05 Aug, 2023 7 commits
  3. 04 Aug, 2023 25 commits
  4. 03 Aug, 2023 5 commits
    • Jakub Kicinski's avatar
      eth: dpaa: add missing net/xdp.h include · 6f9bad6b
      Jakub Kicinski authored
      Add missing include for DPAA (fix aarch64 build).
      Reported-by: default avatarkernel test robot <lkp@intel.com>
      Closes: https://lore.kernel.org/oe-kbuild-all/202308040620.ty8oYNOP-lkp@intel.com/
      Fixes: 680ee045 ("net: invert the netdevice.h vs xdp.h dependency")
      Reviewed-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
      Link: https://lore.kernel.org/r/20230803230008.362214-1-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      6f9bad6b
    • Jakub Kicinski's avatar
      Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next · d07b7b32
      Jakub Kicinski authored
      Martin KaFai Lau says:
      
      ====================
      pull-request: bpf-next 2023-08-03
      
      We've added 54 non-merge commits during the last 10 day(s) which contain
      a total of 84 files changed, 4026 insertions(+), 562 deletions(-).
      
      The main changes are:
      
      1) Add SO_REUSEPORT support for TC bpf_sk_assign from Lorenz Bauer,
         Daniel Borkmann
      
      2) Support new insns from cpu v4 from Yonghong Song
      
      3) Non-atomically allocate freelist during prefill from YiFei Zhu
      
      4) Support defragmenting IPv(4|6) packets in BPF from Daniel Xu
      
      5) Add tracepoint to xdp attaching failure from Leon Hwang
      
      6) struct netdev_rx_queue and xdp.h reshuffling to reduce
         rebuild time from Jakub Kicinski
      
      * tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next: (54 commits)
        net: invert the netdevice.h vs xdp.h dependency
        net: move struct netdev_rx_queue out of netdevice.h
        eth: add missing xdp.h includes in drivers
        selftests/bpf: Add testcase for xdp attaching failure tracepoint
        bpf, xdp: Add tracepoint to xdp attaching failure
        selftests/bpf: fix static assert compilation issue for test_cls_*.c
        bpf: fix bpf_probe_read_kernel prototype mismatch
        riscv, bpf: Adapt bpf trampoline to optimized riscv ftrace framework
        libbpf: fix typos in Makefile
        tracing: bpf: use struct trace_entry in struct syscall_tp_t
        bpf, devmap: Remove unused dtab field from bpf_dtab_netdev
        bpf, cpumap: Remove unused cmap field from bpf_cpu_map_entry
        netfilter: bpf: Only define get_proto_defrag_hook() if necessary
        bpf: Fix an array-index-out-of-bounds issue in disasm.c
        net: remove duplicate INDIRECT_CALLABLE_DECLARE of udp[6]_ehashfn
        docs/bpf: Fix malformed documentation
        bpf: selftests: Add defrag selftests
        bpf: selftests: Support custom type and proto for client sockets
        bpf: selftests: Support not connecting client socket
        netfilter: bpf: Support BPF_F_NETFILTER_IP_DEFRAG in netfilter link
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20230803174845.825419-1-martin.lau@linux.devSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      d07b7b32
    • Jakub Kicinski's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 35b1b1fd
      Jakub Kicinski authored
      Cross-merge networking fixes after downstream PR.
      
      Conflicts:
      
      net/dsa/port.c
        9945c1fb ("net: dsa: fix older DSA drivers using phylink")
        a88dd753 ("net: dsa: remove legacy_pre_march2020 detection")
      https://lore.kernel.org/all/20230731102254.2c9868ca@canb.auug.org.au/
      
      net/xdp/xsk.c
        3c5b4d69 ("net: annotate data-races around sk->sk_mark")
        b7f72a30 ("xsk: introduce wrappers and helpers for supporting multi-buffer in Tx path")
      https://lore.kernel.org/all/20230731102631.39988412@canb.auug.org.au/
      
      drivers/net/ethernet/broadcom/bnxt/bnxt.c
        37b61cda ("bnxt: don't handle XDP in netpoll")
        2b56b3d9 ("eth: bnxt: handle invalid Tx completions more gracefully")
      https://lore.kernel.org/all/20230801101708.1dc7faac@canb.auug.org.au/
      
      Adjacent changes:
      
      drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c
        62da0833 ("net/mlx5e: Set proper IPsec source port in L4 selector")
        fbd51754 ("net/mlx5e: Add function to get IPsec offload namespace")
      
      drivers/net/ethernet/sfc/selftest.c
        55c1528f ("sfc: fix field-spanning memcpy in selftest")
        ae9d445c ("sfc: Miscellaneous comment removals")
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      35b1b1fd
    • Linus Torvalds's avatar
      Merge tag 'net-6.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 999f6631
      Linus Torvalds authored
      Pull networking fixes from Jakub Kicinski:
       "Including fixes from bpf and wireless.
      
        Nothing scary here. Feels like the first wave of regressions from v6.5
        is addressed - one outstanding fix still to come in TLS for the
        sendpage rework.
      
        Current release - regressions:
      
         - udp: fix __ip_append_data()'s handling of MSG_SPLICE_PAGES
      
         - dsa: fix older DSA drivers using phylink
      
        Previous releases - regressions:
      
         - gro: fix misuse of CB in udp socket lookup
      
         - mlx5: unregister devlink params in case interface is down
      
         - Revert "wifi: ath11k: Enable threaded NAPI"
      
        Previous releases - always broken:
      
         - sched: cls_u32: fix match key mis-addressing
      
         - sched: bind logic fixes for cls_fw, cls_u32 and cls_route
      
         - add bound checks to a number of places which hand-parse netlink
      
         - bpf: disable preemption in perf_event_output helpers code
      
         - qed: fix scheduling in a tasklet while getting stats
      
         - avoid using APIs which are not hardirq-safe in couple of drivers,
           when we may be in a hard IRQ (netconsole)
      
         - wifi: cfg80211: fix return value in scan logic, avoid page
           allocator warning
      
         - wifi: mt76: mt7615: do not advertise 5 GHz on first PHY of MT7615D
           (DBDC)
      
        Misc:
      
         - drop handful of inactive maintainers, put some new in place"
      
      * tag 'net-6.5-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (98 commits)
        MAINTAINERS: update TUN/TAP maintainers
        test/vsock: remove vsock_perf executable on `make clean`
        tcp_metrics: fix data-race in tcpm_suck_dst() vs fastopen
        tcp_metrics: annotate data-races around tm->tcpm_net
        tcp_metrics: annotate data-races around tm->tcpm_vals[]
        tcp_metrics: annotate data-races around tm->tcpm_lock
        tcp_metrics: annotate data-races around tm->tcpm_stamp
        tcp_metrics: fix addr_same() helper
        prestera: fix fallback to previous version on same major version
        udp: Fix __ip_append_data()'s handling of MSG_SPLICE_PAGES
        net/mlx5e: Set proper IPsec source port in L4 selector
        net/mlx5: fs_core: Skip the FTs in the same FS_TYPE_PRIO_CHAINS fs_prio
        net/mlx5: fs_core: Make find_closest_ft more generic
        wifi: brcmfmac: Fix field-spanning write in brcmf_scan_params_v2_to_v1()
        vxlan: Fix nexthop hash size
        ip6mr: Fix skb_under_panic in ip6mr_cache_report()
        s390/qeth: Don't call dev_close/dev_open (DOWN/UP)
        net: tap_open(): set sk_uid from current_fsuid()
        net: tun_chr_open(): set sk_uid from current_fsuid()
        net: dcb: choose correct policy to parse DCB_ATTR_BCN
        ...
      999f6631
    • Jakub Kicinski's avatar
      MAINTAINERS: update TUN/TAP maintainers · 0765c5f2
      Jakub Kicinski authored
      Willem and Jason have agreed to take over the maintainer
      duties for TUN/TAP, thank you!
      
      There's an existing entry for TUN/TAP which only covers
      the user mode Linux implementation.
      Since we haven't heard from Maxim on the list for almost
      a decade, extend that entry and take it over, rather than
      adding a new one.
      Acked-by: default avatarWillem de Bruijn <willemb@google.com>
      Acked-by: default avatarJason Wang <jasowang@redhat.com>
      Link: https://lore.kernel.org/r/20230802182843.4193099-1-kuba@kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      0765c5f2