2.4.x iptables iptable_mangle LOCAL_IN bugfix
Subsystems (2)
PATCH 1/1 2.4.x iptables iptable_mangle LOCAL_IN bugfix
Hi Davem!
The patch below fixes a bug when the MARK target is used in the INPUT chain of the mangle table.
This one is for 2.4.x, expect the 2.5.x fix in my next email.
Please apply, thanks.
net/ipv4/netfilter/iptable_mangle.c +1 -1
@@ -170,7 +170,7 @@static struct nf_hook_ops ipt_ops[] = { { {NULL ,NULL }, ipt_route_hook,PF_INET ,NF_IP_PRE_ROUTING ,NF_IP_PRI_MANGLE }, - { {NULL ,NULL }, ipt_local_hook,PF_INET ,NF_IP_LOCAL_IN , + { {NULL ,NULL }, ipt_route_hook,PF_INET ,NF_IP_LOCAL_IN ,NF_IP_PRI_MANGLE }, { {NULL ,NULL }, ipt_route_hook,PF_INET ,NF_IP_FORWARD ,NF_IP_PRI_MANGLE },
Signature · 5 lines
- Harald Welte <[email protected]> http://www.netfilter.org/ ============================================================================ "Fragmentation is like classful addressing -- an interesting early architectural error that shows how much experimentation was going on while IP was being designed." -- Paul Vixie
From: Harald Welte <[email protected]>
Date: Sun, 30 Mar 2003 21:36:41 +0200
The patch below fixes a bug when the MARK target is used in the INPUT chain of the mangle table.
This one is for 2.4.x, expect the 2.5.x fix in my next email.
Both 2.4.x and 2.5.x patches applied, thank you.