projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0098b72
)
[IPV4]: sk parameter is unused in ipv4_dst_blackhole.
author
Denis V. Lunev
<den@openvz.org>
Sun, 23 Mar 2008 00:42:37 +0000
(17:42 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sun, 23 Mar 2008 00:42:37 +0000
(17:42 -0700)
Just remove it.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv4/route.c
b/net/ipv4/route.c
index 1051326c36b2e18752a4c84e7bca9ffe2cf833e5..9ba3413a9909226dac64d80158fb65537948964f 100644
(file)
--- a/
net/ipv4/route.c
+++ b/
net/ipv4/route.c
@@
-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 *rt = (struct rtable *)
@@
-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,
flags ? XFRM_LOOKUP_WAIT : 0);
if (err == -EREMOTE)
- err = ipv4_dst_blackhole(rp, flp
, sk
);
+ err = ipv4_dst_blackhole(rp, flp);
return err;
}