1. 09 Sep, 2024 36 commits
  2. 08 Sep, 2024 2 commits
  3. 07 Sep, 2024 2 commits
    • Jakub Kicinski's avatar
      Merge tag 'nf-next-24-09-06' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next · f7232247
      Jakub Kicinski authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter updates for net-next
      
      The following patchset contains Netfilter updates for net-next:
      
      Patch #1 adds ctnetlink support for kernel side filtering for
      	 deletions, from Changliang Wu.
      
      Patch #2 updates nft_counter support to Use u64_stats_t,
      	 from Sebastian Andrzej Siewior.
      
      Patch #3 uses kmemdup_array() in all xtables frontends,
      	 from Yan Zhen.
      
      Patch #4 is a oneliner to use ERR_CAST() in nf_conntrack instead
      	 opencoded casting, from Shen Lichuan.
      
      Patch #5 removes unused argument in nftables .validate interface,
      	 from Florian Westphal.
      
      Patch #6 is a oneliner to correct a typo in nftables kdoc,
      	 from Simon Horman.
      
      Patch #7 fixes missing kdoc in nftables, also from Simon.
      
      Patch #8 updates nftables to handle timeout less than CONFIG_HZ.
      
      Patch #9 rejects element expiration if timeout is zero,
      	 otherwise it is silently ignored.
      
      Patch #10 disallows element expiration larger than timeout.
      
      Patch #11 removes unnecessary READ_ONCE annotation while mutex is held.
      
      Patch #12 adds missing READ_ONCE/WRITE_ONCE annotation in dynset.
      
      Patch #13 annotates data-races around element expiration.
      
      Patch #14 allocates timeout and expiration in one single set element
      	  extension, they are tighly couple, no reason to keep them
      	  separated anymore.
      
      Patch #15 updates nftables to interpret zero timeout element as never
      	  times out. Note that it is already possible to declare sets
      	  with elements that never time out but this generalizes to all
      	  kind of set with timeouts.
      
      Patch #16 supports for element timeout and expiration updates.
      
      * tag 'nf-next-24-09-06' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next:
        netfilter: nf_tables: set element timeout update support
        netfilter: nf_tables: zero timeout means element never times out
        netfilter: nf_tables: consolidate timeout extension for elements
        netfilter: nf_tables: annotate data-races around element expiration
        netfilter: nft_dynset: annotate data-races around set timeout
        netfilter: nf_tables: remove annotation to access set timeout while holding lock
        netfilter: nf_tables: reject expiration higher than timeout
        netfilter: nf_tables: reject element expiration with no timeout
        netfilter: nf_tables: elements with timeout below CONFIG_HZ never expire
        netfilter: nf_tables: Add missing Kernel doc
        netfilter: nf_tables: Correct spelling in nf_tables.h
        netfilter: nf_tables: drop unused 3rd argument from validate callback ops
        netfilter: conntrack: Convert to use ERR_CAST()
        netfilter: Use kmemdup_array instead of kmemdup for multiple allocation
        netfilter: nft_counter: Use u64_stats_t for statistic.
        netfilter: ctnetlink: support CTA_FILTER for flush
      ====================
      
      Link: https://patch.msgid.link/20240905232920.5481-1-pablo@netfilter.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      f7232247
    • Vadim Fedorenko's avatar
      ptp: ocp: Improve PCIe delay estimation · aa05fe67
      Vadim Fedorenko authored
      The PCIe bus can be pretty busy during boot and probe function can
      see excessive delays. Let's find the minimal value out of several
      tests and use it as estimated value.
      Signed-off-by: default avatarVadim Fedorenko <vadim.fedorenko@linux.dev>
      Link: https://patch.msgid.link/20240905140028.560454-1-vadim.fedorenko@linux.devSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      aa05fe67