Skip to content
  1. Nov 08, 2021
  2. Nov 07, 2021
  3. Nov 06, 2021
    • Nghia Le's avatar
      ipv6: remove useless assignment to newinet in tcp_v6_syn_recv_sock() · 70bf363d
      Nghia Le authored
      
      
      The newinet value is initialized with inet_sk() in a block code to
      handle sockets for the ETH_P_IP protocol. Along this code path,
      newinet is never read. Thus, assignment to newinet is needless and
      can be removed.
      
      Signed-off-by: default avatarNghia Le <nghialm78@gmail.com>
      Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
      Link: https://lore.kernel.org/r/20211104143740.32446-1-nghialm78@gmail.com
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      70bf363d
    • Jakub Kicinski's avatar
      Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf · 9bea6aa4
      Jakub Kicinski authored
      
      
      Daniel Borkmann says:
      
      ====================
      pull-request: bpf 2021-11-05
      
      We've added 15 non-merge commits during the last 3 day(s) which contain
      a total of 14 files changed, 199 insertions(+), 90 deletions(-).
      
      The main changes are:
      
      1) Fix regression from stack spill/fill of <8 byte scalars, from Martin KaFai Lau.
      
      2) Fix perf's build of bpftool's bootstrap version due to missing libbpf
         headers, from Quentin Monnet.
      
      3) Fix riscv{32,64} BPF exception tables build errors and warnings, from Björn Töpel.
      
      4) Fix bpf fs to allow RENAME_EXCHANGE support for atomic upgrades on sk_lookup
         control planes, from Lorenz Bauer.
      
      5) Fix libbpf's error reporting in bpf_map_lookup_and_delete_elem_flags() due to
         missing libbpf_err_errno(), from Mehrdad Arshad Rad.
      
      6) Various fixes to make xdp_redirect_multi selftest more reliable, from Hangbin Liu.
      
      7) Fix netcnt selftest to make it run serial and thus avoid conflicts with other
         cgroup/skb selftests run in parallel that could cause flakes, from Andrii Nakryiko.
      
      8) Fix reuseport_bpf_numa networking selftest to skip unavailable NUMA nodes,
         from Kleber Sacilotto de Souza.
      
      * https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf:
        riscv, bpf: Fix RV32 broken build, and silence RV64 warning
        selftests/bpf/xdp_redirect_multi: Limit the tests in netns
        selftests/bpf/xdp_redirect_multi: Give tcpdump a chance to terminate cleanly
        selftests/bpf/xdp_redirect_multi: Use arping to accurate the arp number
        selftests/bpf/xdp_redirect_multi: Put the logs to tmp folder
        libbpf: Fix lookup_and_delete_elem_flags error reporting
        bpftool: Install libbpf headers for the bootstrap version, too
        selftests/net: Fix reuseport_bpf_numa by skipping unavailable nodes
        selftests/bpf: Verifier test on refill from a smaller spill
        bpf: Do not reject when the stack read size is different from the tracked scalar size
        selftests/bpf: Make netcnt selftests serial to avoid spurious failures
        selftests/bpf: Test RENAME_EXCHANGE and RENAME_NOREPLACE on bpffs
        selftests/bpf: Convert test_bpffs to ASSERT macros
        libfs: Support RENAME_EXCHANGE in simple_rename()
        libfs: Move shmem_exchange to simple_rename_exchange
      ====================
      
      Link: https://lore.kernel.org/r/20211105165803.29372-1-daniel@iogearbox.net
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      9bea6aa4
  4. Nov 05, 2021