Commit ce259990 authored by Denis V. Lunev's avatar Denis V. Lunev Committed by David S. Miller

[IPV4]: sk parameter is unused in ipv4_dst_blackhole.

Just remove it.
Signed-off-by: default avatarDenis V. Lunev <den@openvz.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0098b727
...@@ -2520,7 +2520,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = { ...@@ -2520,7 +2520,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = {
}; };
static int ipv4_dst_blackhole(struct rtable **rp, struct flowi *flp, struct sock *sk) static int ipv4_dst_blackhole(struct rtable **rp, struct flowi *flp)
{ {
struct rtable *ort = *rp; struct rtable *ort = *rp;
struct rtable *rt = (struct rtable *) struct rtable *rt = (struct rtable *)
...@@ -2580,7 +2580,7 @@ int ip_route_output_flow(struct net *net, struct rtable **rp, struct flowi *flp, ...@@ -2580,7 +2580,7 @@ int ip_route_output_flow(struct net *net, struct rtable **rp, struct flowi *flp,
err = __xfrm_lookup((struct dst_entry **)rp, flp, sk, err = __xfrm_lookup((struct dst_entry **)rp, flp, sk,
flags ? XFRM_LOOKUP_WAIT : 0); flags ? XFRM_LOOKUP_WAIT : 0);
if (err == -EREMOTE) if (err == -EREMOTE)
err = ipv4_dst_blackhole(rp, flp, sk); err = ipv4_dst_blackhole(rp, flp);
return err; return err;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment