1. 26 Aug, 2024 2 commits
    • Jakub Kicinski's avatar
      Merge tag 'nf-next-24-08-23' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next · b2ede25b
      Jakub Kicinski authored
      Pablo Neira Ayuso says:
      
      ====================
      Netfilter updates for net-next
      
      The following batch contains Netfilter updates for net-next:
      
      Patch #1 fix checksum calculation in nfnetlink_queue with SCTP,
      	 segment GSO packet since skb_zerocopy() does not support
      	 GSO_BY_FRAGS, from Antonio Ojea.
      
      Patch #2 extend nfnetlink_queue coverage to handle SCTP packets,
      	 from Antonio Ojea.
      
      Patch #3 uses consume_skb() instead of kfree_skb() in nfnetlink,
               from Donald Hunter.
      
      Patch #4 adds a dedicate commit list for sets to speed up
      	 intra-transaction lookups, from Florian Westphal.
      
      Patch #5 skips removal of element from abort path for the pipapo
               backend, ditching the shadow copy of this datastructure
      	 is sufficient.
      
      Patch #6 moves nf_ct_netns_get() out of nf_conncount_init() to
      	 let users of conncoiunt decide when to enable conntrack,
      	 this is needed by openvswitch, from Xin Long.
      
      Patch #7 pass context to all nft_parse_register_load() in
      	 preparation for the next patch.
      
      Patches #8 and #9 reject loads from uninitialized registers from
      	 control plane to remove register initialization from
      	 datapath. From Florian Westphal.
      
      * tag 'nf-next-24-08-23' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf-next:
        netfilter: nf_tables: don't initialize registers in nft_do_chain()
        netfilter: nf_tables: allow loads only when register is initialized
        netfilter: nf_tables: pass context structure to nft_parse_register_load
        netfilter: move nf_ct_netns_get out of nf_conncount_init
        netfilter: nf_tables: do not remove elements if set backend implements .abort
        netfilter: nf_tables: store new sets in dedicated list
        netfilter: nfnetlink: convert kfree_skb to consume_skb
        selftests: netfilter: nft_queue.sh: sctp coverage
        netfilter: nfnetlink_queue: unbreak SCTP traffic
      ====================
      
      Link: https://patch.msgid.link/20240822221939.157858-1-pablo@netfilter.orgSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      b2ede25b
    • Christophe JAILLET's avatar
      net: netlink: Remove the dump_cb_mutex field from struct netlink_sock · 18aaa82b
      Christophe JAILLET authored
      Commit 5fbf57a9 ("net: netlink: remove the cb_mutex "injection" from
      netlink core") has removed the usage of the 'dump_cb_mutex' field from the
      struct netlink_sock.
      
      Remove the field itself now. It saves a few bytes in the structure.
      Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
      Reviewed-by: default avatarSimon Horman <horms@kernel.org>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      18aaa82b
  2. 24 Aug, 2024 1 commit
  3. 23 Aug, 2024 27 commits
  4. 22 Aug, 2024 10 commits