Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] seg6: skip route refcounts in seg6local lookups
@ 2026-10-05  5:31 Yuya Kusakabe
  2026-10-05  5:31 ` [PATCH net-next 1/2] seg6: skip the route refcount in seg6_lookup_any_nexthop() Yuya Kusakabe
  2026-10-05  5:31 ` [PATCH net-next 2/2] seg6: skip the route refcount in seg6local IPv4 lookups Yuya Kusakabe
  0 siblings, 2 replies; 6+ messages in thread
From: Yuya Kusakabe @ 2026-10-05  5:31 UTC (permalink / raw)
  To: Andrea Mayer, David S. Miller, Eric Dumazet, Jakub Kicinski,
	Paolo Abeni, Simon Horman
  Cc: netdev, linux-kernel, Yuya Kusakabe

seg6local looks up the nexthop of its IPv6 and IPv4 behaviors from the
RCU read-side section of the receive path, yet takes and drops a route
reference for every packet.  Skip the reference, as ip6_route_input()
and ip_rcv_finish() do.

---
Yuya Kusakabe (2):
      seg6: skip the route refcount in seg6_lookup_any_nexthop()
      seg6: skip the route refcount in seg6local IPv4 lookups

 net/ipv6/seg6_local.c | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)
---
base-commit: cfb7793d1bc0f7d90571611979654cf1b3886b29
change-id: 20261004-seg6-lookup-noref-e016495b60ed

Best regards,
--  
Yuya Kusakabe <yuya.kusakabe@gmail.com>


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-10-09  5:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-05  5:31 [PATCH net-next 0/2] seg6: skip route refcounts in seg6local lookups Yuya Kusakabe
2026-10-05  5:31 ` [PATCH net-next 1/2] seg6: skip the route refcount in seg6_lookup_any_nexthop() Yuya Kusakabe
2026-10-08  5:32   ` netdev-bot+sashiko
2026-10-09  0:43   ` Andrea Mayer
2026-10-09  5:39     ` Yuya Kusakabe
2026-10-05  5:31 ` [PATCH net-next 2/2] seg6: skip the route refcount in seg6local IPv4 lookups Yuya Kusakabe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox