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>
This commit is contained in:
Maciej Żenczykowski
2018-09-25 20:56:27 -07:00
committed by David S. Miller
parent d888f39666
commit 1042caa79e
11 changed files with 14 additions and 15 deletions

View File

@@ -180,7 +180,7 @@ static int ipip_err(struct sk_buff *skb, u32 info)
}
if (type == ICMP_REDIRECT) {
ipv4_redirect(skb, net, t->parms.link, 0, iph->protocol, 0);
ipv4_redirect(skb, net, t->parms.link, iph->protocol);
goto out;
}