]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_flow_table: tear down TCP flows if RST or FIN was seen
authorFelix Fietkau <nbd@nbd.name>
Mon, 26 Feb 2018 09:15:24 +0000 (10:15 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 24 Apr 2018 08:29:02 +0000 (10:29 +0200)
commitd91a4bb912c6e8b793997ec2941718d368b9c3a1
tree9178d3d5a41490f6775a2cd5bb7401bd6484a8dc
parente9901a8387735a47795e2bf740e10c87ba4a1b49
netfilter: nf_flow_table: tear down TCP flows if RST or FIN was seen

Allow the slow path to handle the shutdown of the connection with proper
timeouts. The packet containing RST/FIN is also sent to the slow path
and the TCP conntrack module will update its state.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_flow_table_ip.c