diff options
author | Alex Gartrell <agartrell@fb.com> | 2015-08-26 09:40:29 -0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2015-09-01 10:33:26 +0900 |
commit | 4fd9beef37f3a14aa34cb025479a0e431dc9e58b (patch) | |
tree | 303b5e4cd241b7e1173fcf680ade13fc389cf6e4 /net/netfilter/xt_ipvs.c | |
parent | b0e010c527de742cb18e8d50a06dfd1a995b5382 (diff) | |
download | op-kernel-dev-4fd9beef37f3a14aa34cb025479a0e431dc9e58b.zip op-kernel-dev-4fd9beef37f3a14aa34cb025479a0e431dc9e58b.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/xt_ipvs.c b/net/netfilter/xt_ipvs.c index 8d47c37..3704625 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) ^ |