aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/ipcomp.c
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2018-09-25 20:56:27 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-26 20:30:55 -0700
commit1042caa79e9351b81ed19dc8d2d7fd6ff51a4422 (patch)
treeeb401cc005398f964bf453cbb8c820f18d77745a /net/ipv4/ipcomp.c
parentnet-ipv4: remove 2 always zero parameters from ipv4_update_pmtu() (diff)
downloadwireguard-linux-1042caa79e9351b81ed19dc8d2d7fd6ff51a4422.tar.xz
wireguard-linux-1042caa79e9351b81ed19dc8d2d7fd6ff51a4422.zip
net-ipv4: remove 2 always zero parameters from ipv4_redirect()
(the parameters in question are mark and flow_flags) Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: Maciej Żenczykowski <maze@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ipcomp.c')
-rw-r--r--net/ipv4/ipcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ipcomp.c b/net/ipv4/ipcomp.c
index 04049d1330a2..9119d012ba46 100644
--- a/net/ipv4/ipcomp.c
+++ b/net/ipv4/ipcomp.c
@@ -50,7 +50,7 @@ static int ipcomp4_err(struct sk_buff *skb, u32 info)
if (icmp_hdr(skb)->type == ICMP_DEST_UNREACH)
ipv4_update_pmtu(skb, net, info, 0, IPPROTO_COMP);
else
- ipv4_redirect(skb, net, 0, 0, IPPROTO_COMP, 0);
+ ipv4_redirect(skb, net, 0, IPPROTO_COMP);
xfrm_state_put(x);
return 0;