Pablo Neira Ayuso a54fa5dff8 netfilter: nft_flow_offload: skip tcp rst and fin packets
[ Upstream commit dfe42be15fde16232340b8b2a57c359f51cc10d9 ]

TCP rst and fin packets do not qualify to place a flow into the
flowtable. Most likely there will be no more packets after connection
closure. Without this patch, this flow entry expires and connection
tracking picks up the entry in ESTABLISHED state using the fixup
timeout, which makes this look inconsistent to the user for a connection
that is actually already closed.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-09-10 10:33:44 +01:00
..
2019-06-22 08:15:13 +02:00
2019-03-23 20:09:51 +01:00
2019-08-29 08:28:59 +02:00
2019-09-06 10:22:06 +02:00
2018-07-24 14:10:42 -07:00
2019-03-19 13:12:40 +01:00
2019-01-09 17:38:33 +01:00
2018-07-24 14:10:43 -07:00