NetBSD/sys/nfs
knakahara bf4e44ab86 Remove routes on an address removal if the routes referencing to the address. Implemented by ozaki-r@n.o.
A route that has a gateway is on a connected route can be invalid if the
connected route is deleted, i.e., an associated address is removed.
Traditionally NetBSD doesn't sweep such a route on the address removal.  Sending
packets over the route fails with "No route to host".  Also the route holds an
orphan ifaddr as rt_ifa that is destructed say by in_purgeaddr.

If the same address is assgined again in such a state, there can be two
different ifaddr objects with the same address.  Until recently it's not a
big problem because we can send packets anyway.  However after MP-ification
of the network stack, we can't send packets because we strictly check if rt_ifa
(i.e., the (old) ifaddr) is valid.

This change automatically removes such routes on a removal of an associated
address to avoid keeping inconsistent routes.
2022-09-20 02:23:37 +00:00
..
Makefile
files.nfs
krpc.h
krpc_subr.c
nfs.h s/runable/runnable/ 2021-12-05 07:35:17 +00:00
nfs_bio.c Remove an incorrect assertion. 2022-06-24 16:50:00 +00:00
nfs_boot.c Remove routes on an address removal if the routes referencing to the address. Implemented by ozaki-r@n.o. 2022-09-20 02:23:37 +00:00
nfs_bootdhcp.c
nfs_bootparam.c
nfs_bootstatic.c
nfs_clntsocket.c
nfs_clntsubs.c Revert the hack from the last commit now that VOP_UNLOCK() 2022-02-28 08:45:36 +00:00
nfs_export.c Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call. 2021-06-04 10:44:58 +00:00
nfs_iod.c
nfs_kq.c Overhaul of the EVFILT_VNODE kevent(2) filter: 2021-10-20 03:08:16 +00:00
nfs_node.c Resolve delayed truncation from nfs_inactive() too. 2020-05-01 08:43:00 +00:00
nfs_serv.c As VOP_GETATTR() needs a shared lock at least move the preopattr lookup 2022-04-27 17:38:52 +00:00
nfs_socket.c
nfs_srvcache.c
nfs_srvsocket.c
nfs_srvsubs.c As VOP_GETATTR() needs a shared lock at least move the preopattr lookup 2022-04-27 17:38:52 +00:00
nfs_subs.c s/ony/only/ 2022-02-09 21:50:24 +00:00
nfs_syscalls.c Add flag/command NFSSVC_REPLACEEXPORTSLIST to nfssvc(2) system call. 2021-06-04 10:44:58 +00:00
nfs_var.h As VOP_GETATTR() needs a shared lock at least move the preopattr lookup 2022-04-27 17:38:52 +00:00
nfs_vfsops.c Don't pretend that files are limited to 1TB on NFSv3. 2021-06-13 10:25:11 +00:00
nfs_vnops.c fix various typos in comments, docs and log messages. 2022-05-24 06:27:59 +00:00
nfsdiskless.h
nfsm_subs.h s/directry/directory/ 2021-08-12 20:25:26 +00:00
nfsmount.h
nfsnode.h fix various typos, mainly in comments, but also in man pages and log messages. 2021-10-21 13:21:53 +00:00
nfsproto.h
nfsrtt.h
nfsrvcache.h
rpcv2.h
xdr_subs.h