summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_ipvs.c
diff options
context:
space:
mode:
authorAlex Gartrell2015-08-26 18:40:29 +0200
committerSimon Horman2015-09-01 03:33:26 +0200
commit4fd9beef37f3a14aa34cb025479a0e431dc9e58b (patch)
tree303b5e4cd241b7e1173fcf680ade13fc389cf6e4 /net/netfilter/xt_ipvs.c
parentipvs: replace ip_vs_fill_ip4hdr with ip_vs_fill_iph_skb_off (diff)
downloadkernel-qcow2-linux-4fd9beef37f3a14aa34cb025479a0e431dc9e58b.tar.gz
kernel-qcow2-linux-4fd9beef37f3a14aa34cb025479a0e431dc9e58b.tar.xz
kernel-qcow2-linux-4fd9beef37f3a14aa34cb025479a0e431dc9e58b.zip
ipvs: Add hdr_flags to iphdr
These flags contain information like whether or not the addresses are inverted or from icmp. The first will allow us to drop an inverse param all over the place, and the second will later be useful in scheduling icmp. Signed-off-by: Alex Gartrell <agartrell@fb.com> Acked-by: Julian Anastasov <ja@ssi.bg> Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'net/netfilter/xt_ipvs.c')
-rw-r--r--net/netfilter/xt_ipvs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_ipvs.c b/net/netfilter/xt_ipvs.c
index 8d47c3780fda..370462572d84 100644
--- a/net/netfilter/xt_ipvs.c
+++ b/net/netfilter/xt_ipvs.c
@@ -67,7 +67,7 @@ ipvs_mt(const struct sk_buff *skb, struct xt_action_param *par)
goto out;
}
- ip_vs_fill_iph_skb(family, skb, &iph);
+ ip_vs_fill_iph_skb(family, skb, true, &iph);
if (data->bitmask & XT_IPVS_PROTO)
if ((iph.protocol == data->l4proto) ^