Skip to content
  1. Dec 23, 2023
  2. Dec 22, 2023
    • Suman Ghosh's avatar
      octeontx2-af: Fix a double free issue · 27c346a2
      Suman Ghosh authored
      There was a memory leak during error handling in function
      npc_mcam_rsrcs_init().
      
      Fixes: dd784287
      
       ("octeontx2-af: Add new devlink param to configure maximum usable NIX block LFs")
      Suggested-by: default avatarSimon Horman <horms@kernel.org>
      Signed-off-by: default avatarSuman Ghosh <sumang@marvell.com>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      27c346a2
    • David S. Miller's avatar
      Merge branch '1GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue · afa9e267
      David S. Miller authored
      
      
      Tony Nguyen says:
      
      ====================
      intel: use bitfield operations
      
      Jesse Brandeburg says:
      
      After repeatedly getting review comments on new patches, and sporadic
      patches to fix parts of our drivers, we should just convert the Intel code
      to use FIELD_PREP() and FIELD_GET().  It's then "common" in the code and
      hopefully future change-sets will see the context and do-the-right-thing.
      
      This conversion was done with a coccinelle script which is mentioned in the
      commit messages. Generally there were only a couple conversions that were
      "undone" after the automatic changes because they tried to convert a
      non-contiguous mask.
      
      Patch 1 is required at the beginning of this series to fix a "forever"
      issue in the e1000e driver that fails the compilation test after conversion
      because the shift / mask was out of range.
      
      The second patch just adds all the new #includes in one go.
      
      The patch titled: "ice: fix pre-shifted bit usage" is needed to allow the
      use of the FIELD_* macros and fix up the unexpected "shifts included"
      defines found while creating this series.
      
      The rest are the conversion to use FIELD_PREP()/FIELD_GET(), and the
      occasional leXX_{get,set,encode}_bits() call, as suggested by Alex.
      ====================
      
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      afa9e267
    • Paolo Abeni's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 56794e53
      Paolo Abeni authored
      Cross-merge networking fixes after downstream PR.
      
      Adjacent changes:
      
      drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c
        23c93c3b ("bnxt_en: do not map packet buffers twice")
        6d1add95 ("bnxt_en: Modify TX ring indexing logic.")
      
      tools/testing/selftests/net/Makefile
        2258b666 ("selftests: add vlan hw filter tests")
        a0bc96c0
      
       ("selftests: net: verify fq per-band packet limit")
      
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      56794e53
    • David Ahern's avatar
      net/ipv6: Remove gc_link warn on in fib6_info_release · 5a78a812
      David Ahern authored
      A revert of
         3dec89b1 ("net/ipv6: Remove expired routes with a separated list of routes")
      was sent for net-next. Revert the remainder of 5a08d006
      
      
      which added a warn on if a fib entry is still on the gc_link list
      to avoid compile failures when net is merged to net-next
      
      Signed-off-by: default avatarDavid Ahern <dsahern@kernel.org>
      Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
      Link: https://lore.kernel.org/r/20231219030742.25715-1-dsahern@kernel.org
      
      
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      5a78a812
    • Linus Torvalds's avatar
      Merge tag 'net-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 7c5e046b
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from WiFi and bpf.
      
        Current release - regressions:
      
         - bpf: syzkaller found null ptr deref in unix_bpf proto add
      
         - eth: i40e: fix ST code value for clause 45
      
        Previous releases - regressions:
      
         - core: return error from sk_stream_wait_connect() if sk_wait_event()
           fails
      
         - ipv6: revert remove expired routes with a separated list of routes
      
         - wifi rfkill:
             - set GPIO direction
             - fix crash with WED rx support enabled
      
         - bluetooth:
             - fix deadlock in vhci_send_frame
             - fix use-after-free in bt_sock_recvmsg
      
         - eth: mlx5e: fix a race in command alloc flow
      
         - eth: ice: fix PF with enabled XDP going no-carrier after reset
      
         - eth: bnxt_en: do not map packet buffers twice
      
        Previous releases - always broken:
      
         - core:
             - check vlan filter feature in vlan_vids_add_by_dev() and
               vlan_vids_del_by_dev()
             - check dev->gso_max_size in gso_features_check()
      
         - mptcp: fix inconsistent state on fastopen race
      
         - phy: skip LED triggers on PHYs on SFP modules
      
         - eth: mlx5e:
             - fix double free of encap_header
             - fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list()"
      
      * tag 'net-6.7-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (69 commits)
        net: check dev->gso_max_size in gso_features_check()
        kselftest: rtnetlink.sh: use grep_fail when expecting the cmd fail
        net/ipv6: Revert remove expired routes with a separated list of routes
        net: avoid build bug in skb extension length calculation
        net: ethernet: mtk_wed: fix possible NULL pointer dereference in mtk_wed_wo_queue_tx_clean()
        net: stmmac: fix incorrect flag check in timestamp interrupt
        selftests: add vlan hw filter tests
        net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
        net: hns3: add new maintainer for the HNS3 ethernet driver
        net: mana: select PAGE_POOL
        net: ks8851: Fix TX stall caused by TX buffer overrun
        ice: Fix PF with enabled XDP going no-carrier after reset
        ice: alter feature support check for SRIOV and LAG
        ice: stop trashing VF VSI aggregator node ID information
        mailmap: add entries for Geliang Tang
        mptcp: fill in missing MODULE_DESCRIPTION()
        mptcp: fix inconsistent state on fastopen race
        selftests: mptcp: join: fix subflow_send_ack lookup
        net: phy: skip LED triggers on PHYs on SFP modules
        bpf: Add missing BPF_LINK_TYPE invocations
        ...
      7c5e046b
  3. Dec 21, 2023
  4. Dec 20, 2023