]> 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)
commit41bf0b2bade303300631a4cb53cb3fff11cc9622
tree9178d3d5a41490f6775a2cd5bb7401bd6484a8dc
parent618e56ff4e737c1a3ea8ed6ba8d7aabe64af0b21
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