Thread (2 messages) flat view 2 messages, 2 authors, 2021-10-28

Re: [PATCH net-next] neigh: use struct {arp, ndisc}_generic_ops for all case

From: David Ahern <hidden>
Date: 2021-10-28 15:09:54
Also in: lkml

On 10/28/21 6:20 AM, Yajun Deng wrote:
quoted hunk ↗ jump to hunk
diff --git a/net/ipv4/arp.c b/net/ipv4/arp.c
index 922dd73e5740..9ee59c2e419a 100644
--- a/net/ipv4/arp.c
+++ b/net/ipv4/arp.c
@@ -135,14 +135,6 @@ static const struct neigh_ops arp_generic_ops = {
 	.connected_output =	neigh_connected_output,
 };
 
-static const struct neigh_ops arp_hh_ops = {
-	.family =		AF_INET,
-	.solicit =		arp_solicit,
-	.error_report =		arp_error_report,
-	.output =		neigh_resolve_output,
-	.connected_output =	neigh_resolve_output,
-};
-
neigh_ops are used by net/core/neighbour.c; this change breaks those
references.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help