firewall3: remove redundant syn check
authorKevin Darbyshire-Bryant <[email protected]>
Sun, 25 Apr 2021 17:40:52 +0000 (18:40 +0100)
committerRui Salvaterra <[email protected]>
Sat, 8 Jan 2022 11:33:58 +0000 (11:33 +0000)
commit24ba465b8a6793588d116297a017aefbf6f339d3
tree1a7262b610e55e8767feef04d37f3f7735749769
parentdf1306a96127e91ff2d513a0a67345baaf61d113
firewall3: remove redundant syn check

syn_flood chain entry is guarded by '--syn' checks in the calling chains, so the
syn_flood chain doesn't need to check packet flags, it only needs to count and
potentially drop.

Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
defaults.c