aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/ipv4/route.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/route.c b/net/ipv4/route.c
index 1051326c36b2..9ba3413a9909 100644
--- a/net/ipv4/route.c
+++ b/net/ipv4/route.c
@@ -2520,7 +2520,7 @@ static struct dst_ops ipv4_dst_blackhole_ops = {
2520}; 2520};
2521 2521
2522 2522
2523static int ipv4_dst_blackhole(struct rtable **rp, struct flowi *flp, struct sock *sk) 2523static int ipv4_dst_blackhole(struct rtable **rp, struct flowi *flp)
2524{ 2524{
2525 struct rtable *ort = *rp; 2525 struct rtable *ort = *rp;
2526 struct rtable *rt = (struct rtable *) 2526 struct rtable *rt = (struct rtable *)
@@ -2580,7 +2580,7 @@ int ip_route_output_flow(struct net *net, struct rtable **rp, struct flowi *flp,
2580 err = __xfrm_lookup((struct dst_entry **)rp, flp, sk, 2580 err = __xfrm_lookup((struct dst_entry **)rp, flp, sk,
2581 flags ? XFRM_LOOKUP_WAIT : 0); 2581 flags ? XFRM_LOOKUP_WAIT : 0);
2582 if (err == -EREMOTE) 2582 if (err == -EREMOTE)
2583 err = ipv4_dst_blackhole(rp, flp, sk); 2583 err = ipv4_dst_blackhole(rp, flp);
2584 2584
2585 return err; 2585 return err;
2586 } 2586 }