aboutsummaryrefslogtreecommitdiff
path: root/net/l2tp
diff options
context:
space:
mode:
authorGravatar Paolo Abeni <pabeni@redhat.com> 2024-02-22 10:20:50 +0100
committerGravatar Paolo Abeni <pabeni@redhat.com> 2024-02-22 10:20:50 +0100
commit9ff27943060c0282ca14e40f05c2b907edc85a42 (patch)
treeefd3d1f6702a192c1f21a129c5602c84a83d945c /net/l2tp
parentMerge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf... (diff)
parentnetfilter: nf_tables: use kzalloc for hook allocation (diff)
downloadlinux-9ff27943060c0282ca14e40f05c2b907edc85a42.tar.gz
linux-9ff27943060c0282ca14e40f05c2b907edc85a42.tar.bz2
linux-9ff27943060c0282ca14e40f05c2b907edc85a42.zip
Merge tag 'nf-24-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf
Pablo Neira Ayuso says: ==================== Netfilter fixes for net The following patchset contains Netfilter fixes for net: 1) If user requests to wake up a table and hook fails, restore the dormant flag from the error path, from Florian Westphal. 2) Reset dst after transferring it to the flow object, otherwise dst gets released twice from the error path. 3) Release dst in case the flowtable selects a direct xmit path, eg. transmission to bridge port. Otherwise, dst is memleaked. 4) Register basechain and flowtable hooks at the end of the command. Error path releases these datastructure without waiting for the rcu grace period. 5) Use kzalloc() to initialize struct nft_hook to fix a KMSAN report on access to hook type, also from Florian Westphal. netfilter pull request 24-02-22 * tag 'nf-24-02-22' of git://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf: 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 ==================== Link: https://lore.kernel.org/r/20240222000843.146665-1-pablo@netfilter.org Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/l2tp')
0 files changed, 0 insertions, 0 deletions