1. 26 Feb, 2024 13 commits
  2. 24 Feb, 2024 12 commits
  3. 23 Feb, 2024 7 commits
  4. 22 Feb, 2024 8 commits
    • Jakub Kicinski's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · fecc5155
      Jakub Kicinski authored
      Cross-merge networking fixes after downstream PR.
      
      Conflicts:
      
      net/ipv4/udp.c
        f796feab ("udp: add local "peek offset enabled" flag")
        56667da7 ("net: implement lockless setsockopt(SO_PEEK_OFF)")
      
      Adjacent changes:
      
      net/unix/garbage.c
        aa82ac51 ("af_unix: Drop oob_skb ref before purging queue in GC.")
        11498715 ("af_unix: Remove io_uring code for GC.")
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      fecc5155
    • Jakub Kicinski's avatar
      Merge tag 'wireless-next-2024-02-22' of... · 0fb848d1
      Jakub Kicinski authored
      Merge tag 'wireless-next-2024-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next
      
      Kalle Valo says:
      
      ====================
      wireless-next patches for v6.9
      
      The third "new features" pull request for v6.9. This is a quick
      followup to send commit 04edb5dc ("wifi: ath12k: Fix uninitialized
      use of ret in ath12k_mac_allocate()") to fix the ath12k clang warning
      introduced in the previous pull request.
      
      We also have support for QCA2066 in ath11k, several new features in
      ath12k and few other changes in drivers. In stack it's mostly cleanup
      and refactoring.
      
      Major changes:
      
      ath12k
       * firmware-2.bin support
       * support having multiple identical PCI devices (firmware needs to
         have ATH12K_FW_FEATURE_MULTI_QRTR_ID)
       * QCN9274: support split-PHY devices
       * WCN7850: enable Power Save Mode in station mode
       * WCN7850: P2P support
      
      ath11k:
       * QCA6390 & WCN6855: support 2 concurrent station interfaces
       * QCA2066 support
      
      iwlwifi
       * mvm: support wider-bandwidth OFDMA
       * bump firmware API to 90 for BZ/SC devices
      
      brcmfmac
       * DMI nvram filename quirk for ACEPC W5 Pro
      
      * tag 'wireless-next-2024-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/wireless/wireless-next: (75 commits)
        wifi: wilc1000: revert reset line logic flip
        wifi: brcmfmac: Add DMI nvram filename quirk for ACEPC W5 Pro
        wifi: rtlwifi: set initial values for unexpected cases of USB endpoint priority
        wifi: rtl8xxxu: check vif before using in rtl8xxxu_tx()
        wifi: rtlwifi: rtl8192cu: Fix TX aggregation
        wifi: wilc1000: remove AKM suite be32 conversion for external auth request
        wifi: nl80211: refactor parsing CSA offsets
        wifi: nl80211: force WLAN_AKM_SUITE_SAE in big endian in NL80211_CMD_EXTERNAL_AUTH
        wifi: iwlwifi: load b0 version of ucode for HR1/HR2
        wifi: iwlwifi: handle per-phy statistics from fw
        wifi: iwlwifi: iwl-fh.h: fix kernel-doc issues
        wifi: iwlwifi: api: fix kernel-doc reference
        wifi: iwlwifi: mvm: unlock mvm if there is no primary link
        wifi: iwlwifi: bump FW API to 90 for BZ/SC devices
        wifi: iwlwifi: mvm: support PHY context version 6
        wifi: iwlwifi: mvm: partially support PHY context version 6
        wifi: iwlwifi: mvm: support wider-bandwidth OFDMA
        wifi: cfg80211: use ML element parsing helpers
        wifi: mac80211: align ieee80211_mle_get_bss_param_ch_cnt()
        wifi: cfg80211: refactor RNR parsing
        ...
      ====================
      
      Link: https://lore.kernel.org/r/20240222105205.CEC54C433F1@smtp.kernel.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      0fb848d1
    • Linus Torvalds's avatar
      Merge tag 'net-6.8.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net · 6714ebb9
      Linus Torvalds authored
      Pull networking fixes from Paolo Abeni:
       "Including fixes from bpf and netfilter.
      
        Current release - regressions:
      
         - af_unix: fix another unix GC hangup
      
        Previous releases - regressions:
      
         - core: fix a possible AF_UNIX deadlock
      
         - bpf: fix NULL pointer dereference in sk_psock_verdict_data_ready()
      
         - netfilter: nft_flow_offload: release dst in case direct xmit path
           is used
      
         - bridge: switchdev: ensure MDB events are delivered exactly once
      
         - l2tp: pass correct message length to ip6_append_data
      
         - dccp/tcp: unhash sk from ehash for tb2 alloc failure after
           check_estalblished()
      
         - tls: fixes for record type handling with PEEK
      
         - devlink: fix possible use-after-free and memory leaks in
           devlink_init()
      
        Previous releases - always broken:
      
         - bpf: fix an oops when attempting to read the vsyscall page through
           bpf_probe_read_kernel
      
         - sched: act_mirred: use the backlog for mirred ingress
      
         - netfilter: nft_flow_offload: fix dst refcount underflow
      
         - ipv6: sr: fix possible use-after-free and null-ptr-deref
      
         - mptcp: fix several data races
      
         - phonet: take correct lock to peek at the RX queue
      
        Misc:
      
         - handful of fixes and reliability improvements for selftests"
      
      * tag 'net-6.8.0-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net: (72 commits)
        l2tp: pass correct message length to ip6_append_data
        net: phy: realtek: Fix rtl8211f_config_init() for RTL8211F(D)(I)-VD-CG PHY
        selftests: ioam: refactoring to align with the fix
        Fix write to cloned skb in ipv6_hop_ioam()
        phonet/pep: fix racy skb_queue_empty() use
        phonet: take correct lock to peek at the RX queue
        net: sparx5: Add spinlock for frame transmission from CPU
        net/sched: flower: Add lock protection when remove filter handle
        devlink: fix port dump cmd type
        net: stmmac: Fix EST offset for dwmac 5.10
        tools: ynl: don't leak mcast_groups on init error
        tools: ynl: make sure we always pass yarg to mnl_cb_run
        net: mctp: put sock on tag allocation failure
        netfilter: nf_tables: use kzalloc for hook allocation
        netfilter: nf_tables: register hooks last when adding new chain/flowtable
        netfilter: nft_flow_offload: release dst in case direct xmit path is used
        netfilter: nft_flow_offload: reset dst in route object after setting up flow
        netfilter: nf_tables: set dormant flag on hook register failure
        selftests: tls: add test for peeking past a record of a different type
        selftests: tls: add test for merging of same-type control messages
        ...
      6714ebb9
    • Linus Torvalds's avatar
      Merge tag 'trace-v6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace · efa80dcb
      Linus Torvalds authored
      Pull tracing fix from Steven Rostedt:
      
       - While working on the ring buffer I noticed that the counter used for
         knowing where the end of the data is on a sub-buffer was not a full
         "int" but just 20 bits. It was masked out to 0xfffff.
      
         With the new code that allows the user to change the size of the
         sub-buffer, it is theoretically possible to ask for a size bigger
         than 2^20. If that happens, unexpected results may occur as there's
         no code checking if the counter overflowed the 20 bits of the write
         mask. There are other checks to make sure events fit in the
         sub-buffer, but if the sub-buffer itself is too big, that is not
         checked.
      
         Add a check in the resize of the sub-buffer to make sure that it
         never goes beyond the size of the counter that holds how much data is
         on it.
      
      * tag 'trace-v6.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
        ring-buffer: Do not let subbuf be bigger than write mask
      efa80dcb
    • Paolo Abeni's avatar
      Merge branch 'bnxt_en-ntuple-filter-improvements' · 85badb2c
      Paolo Abeni authored
      Michael Chan says:
      
      ====================
      bnxt_en: Ntuple filter improvements
      
      The current Ntuple filter implementation has a limitation on 5750X (P5)
      and newer chips.  The destination ring of the ntuple filter must be
      a valid ring in the RSS indirection table.  Ntuple filters may not work
      if the RSS indirection table is modified by the user to only contain a
      subset of the rings.  If an ntuple filter is set to a ring destination
      that is not in the RSS indirection table, the packet matching that
      filter will be placed in a random ring instead of the specified
      destination ring.
      
      This series of patches will fix the problem by using a separate VNIC
      for ntuple filters.  The default VNIC will be dedicated for RSS and
      so the indirection table can be setup in any way and will not affect
      ntuple filters using the separate VNIC.
      
      Quite a bit of refactoring is needed to do the the VNIC and RSS
      context accounting in the first few patches.  This is technically a
      bug fix, but I think the changes are too big for -net.
      ====================
      
      Link: https://lore.kernel.org/r/20240220230317.96341-1-michael.chan@broadcom.comSigned-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      85badb2c
    • Pavan Chebbi's avatar
      bnxt_en: Use the new VNIC to create ntuple filters · f6eff053
      Pavan Chebbi authored
      The newly created vnic (BNXT_VNIC_NTUPLE) is ready to be used to create
      ntuple filters when supported by firmware.  All RX rings can be used
      regardless of the RSS indirection setting on the default VNIC.
      Reviewed-by: default avatarSomnath Kotur <somnath.kotur@broadcom.com>
      Reviewed-by: default avatarKalesh AP <kalesh-anakkur.purayil@broadcom.com>
      Signed-off-by: default avatarPavan Chebbi <pavan.chebbi@broadcom.com>
      Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      f6eff053
    • Pavan Chebbi's avatar
      bnxt_en: Create and setup the additional VNIC for adding ntuple filters · 93e90104
      Pavan Chebbi authored
      Allocate and setup the additional VNIC for ntuple filters if this
      new method is supported by the firmware.  Even though this VNIC is
      only used for ntuple filters with direct ring destinations, we still
      setup the RSS hash to be identical to the default VNIC so that each
      RX packet will have the correct hash in the RX completion.  This
      VNIC is always at VNIC index BNXT_VNIC_NTUPLE.
      Reviewed-by: default avatarSomnath Kotur <somnath.kotur@broadcom.com>
      Signed-off-by: default avatarPavan Chebbi <pavan.chebbi@broadcom.com>
      Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      93e90104
    • Pavan Chebbi's avatar
      bnxt_en: Provision for an additional VNIC for ntuple filters · 532c034e
      Pavan Chebbi authored
      On newer chips that support the ring table index method for
      ntuple filters, the current scheme of using the same VNIC for
      both RSS and ntuple filters will not work in all cases.  An
      ntuple filter can only be directed to a destination ring if
      that destination ring is also in the RSS indirection table.
      
      To support ntuple filters with any arbitratry RSS indirection
      table that may only include a subset of the rings, we need to
      use a separate VNIC for ntuple filters.
      
      This patch provisions the additional VNIC.  The next patch will
      allocate additional VNIC from firmware and set it up.
      Reviewed-by: default avatarSomnath Kotur <somnath.kotur@broadcom.com>
      Reviewed-by: default avatarKalesh AP <kalesh-anakkur.purayil@broadcom.com>
      Signed-off-by: default avatarPavan Chebbi <pavan.chebbi@broadcom.com>
      Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
      Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
      532c034e