linux-kernelorg-stable/include/net/netns
Kuniyuki Iwashima 834d97843e ipv6: Protect fib6_link_table() with spinlock.
We will get rid of RTNL from RTM_NEWROUTE and SIOCADDRT.

If the request specifies a new table ID, fib6_new_table() is
called to create a new routing table.

Two concurrent requests could specify the same table ID, so we
need a lock to protect net->ipv6.fib_table_hash[h].

Let's add a spinlock to protect the hash bucket linkage.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Acked-by: Paolo Abeni <pabeni@redhat.com>
Link: https://patch.msgid.link/20250418000443.43734-13-kuniyu@amazon.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2025-04-24 09:29:56 +02:00
..
bpf.h
can.h
conntrack.h
core.h net-timestamp: namespacify the sysctl_tstamp_allow_data 2024-10-08 15:33:11 -07:00
flow_table.h
generic.h
hash.h
ieee802154_6lowpan.h
ipv4.h udp_tunnel: create a fastpath GRO lookup. 2025-04-08 18:19:41 -07:00
ipv6.h ipv6: Protect fib6_link_table() with spinlock. 2025-04-24 09:29:56 +02:00
mctp.h
mib.h
mpls.h
netfilter.h
nexthop.h
nftables.h
packet.h
sctp.h net: Correct spelling in headers 2024-08-26 09:37:23 -07:00
smc.h
unix.h
xdp.h
xfrm.h xfrm: Add an inbound percpu state cache. 2024-10-29 11:56:18 +01:00