[PATCH net-next 0/2] seg6: skip route refcounts in seg6local lookups
From: Yuya Kusakabe
Date: Mon Oct 05 2026 - 01:33:16 EST
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@xxxxxxxxx>