]> www.infradead.org Git - users/jedix/linux-maple.git/commit
netfilter: conntrack: Remove redundant NFCT_ALIGN call
authorXuanqiang Luo <luoxuanqiang@kylinos.cn>
Fri, 4 Apr 2025 09:47:51 +0000 (17:47 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Apr 2025 22:00:26 +0000 (00:00 +0200)
commiteaa2b34db021c304697b964505cd2477c7c77eb6
tree7590c134349f0ea05150568a1435a2b62df88a4c
parent08764531474578d56ba1dc000c35668dffd55721
netfilter: conntrack: Remove redundant NFCT_ALIGN call

The "nf_ct_tmpl_alloc" function had a redundant call to "NFCT_ALIGN" when
aligning the pointer "p". Since "NFCT_ALIGN" always gives the same result
for the same input.

Signed-off-by: Xuanqiang Luo <luoxuanqiang@kylinos.cn>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_core.c