diff options
author | 2010-06-28 18:50:36 +0000 | |
---|---|---|
committer | 2010-06-28 18:50:36 +0000 | |
commit | dcabaadaeee58cb89eca442d363dc47a44c98826 (patch) | |
tree | 84efa78ebcf10d1010b4331df054d012661b9982 /sys/kern/vfs_subr.c | |
parent | Use an SLIST instead of a TAILQ for the ccb free list. Order doesn't (diff) | |
download | wireguard-openbsd-dcabaadaeee58cb89eca442d363dc47a44c98826.tar.xz wireguard-openbsd-dcabaadaeee58cb89eca442d363dc47a44c98826.zip |
Add the rtable id as an argument to rn_walktree(). Functions like
rt_if_remove_rtdelete() need to know the table id to be able to correctly
remove nodes.
Problem found by Andrea Parazzini and analyzed by Martin Pelikán.
OK henning@
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 48d9b452e44..f6dd44b4bbe 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.185 2010/05/06 06:53:09 mpf Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.186 2010/06/28 18:50:36 claudio Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -103,7 +103,7 @@ int getdevvp(dev_t, struct vnode **, enum vtype); int vfs_hang_addrlist(struct mount *, struct netexport *, struct export_args *); -int vfs_free_netcred(struct radix_node *, void *); +int vfs_free_netcred(struct radix_node *, void *, u_int); void vfs_free_addrlist(struct netexport *); void vputonfreelist(struct vnode *); @@ -1482,7 +1482,7 @@ out: /* ARGSUSED */ int -vfs_free_netcred(struct radix_node *rn, void *w) +vfs_free_netcred(struct radix_node *rn, void *w, u_int id) { struct radix_node_head *rnh = (struct radix_node_head *)w; |