diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-28 18:50:38 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2010-06-28 18:50:38 +0000 |
commit | 22b0156759c053e251b29ef230ddf75b9e45d9f4 (patch) | |
tree | 58fbb22339399962bcb296ceb830e2d267c226a7 /sys/kern | |
parent | f668ba96c8a5c3248f9ce4db53f92c7ef8e16f9c (diff) |
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')
-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; |