]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: conntrack: move synack init code to helper
authorFlorian Westphal <fw@strlen.de>
Sat, 29 Jan 2022 16:47:00 +0000 (17:47 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 4 Feb 2022 04:39:27 +0000 (05:39 +0100)
commit6cfee86db37d5a3033c9071e96858b2843b7eba1
tree1b224fa5e82741128b88f73e8c2986a2411e5bb3
parent337f19dbe67afcffa7f81aaf6b35578e1813ca78
netfilter: conntrack: move synack init code to helper

It seems more readable to use a common helper in the followup fix rather
than copypaste or goto.

No functional change intended.  The function is only called for syn-ack
or syn in repy direction in case of simultaneous open.

Signed-off-by: Florian Westphal <fw@strlen.de>
Acked-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_proto_tcp.c