Skip to content
Commit 58d5a025 authored by Patrick McHardy's avatar Patrick McHardy
Browse files

netfilter: ipt_ecn: fix protocol check in ecn_mt_check()



Check for protocol inversion in ecn_mt_check() and remove the
unnecessary runtime check for IPPROTO_TCP in ecn_mt().

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
parent 63f6fe92
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment