diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-05-07 05:14:22 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2008-05-07 05:14:22 +0000 |
commit | 65a24792bc9ddbf77a4e57b878d5ef077e00c636 (patch) | |
tree | 0c6cf6f9387b3857646bfe438b8fda70d8d0d04f /sys/kern/vfs_subr.c | |
parent | d6464b531ebfbeadcd02daad12fb3e500888ad9a (diff) |
Implement routing priorities. Every route inserted has a priority assigned
and the one route with the lowest number wins. This will be used by the
routing daemons to resolve the synchronisations issue in case of conflicts.
The nasty bits of this are in the multipath code. If no priority is specified
the kernel will choose an appropriate priority.
Looked at by a few people at n2k8 code is much older
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 5638d013a07..6dbd5d14323 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_subr.c,v 1.164 2008/05/06 17:19:40 thib Exp $ */ +/* $OpenBSD: vfs_subr.c,v 1.165 2008/05/07 05:14:21 claudio Exp $ */ /* $NetBSD: vfs_subr.c,v 1.53 1996/04/22 01:39:13 christos Exp $ */ /* @@ -1424,7 +1424,7 @@ vfs_hang_addrlist(struct mount *mp, struct netexport *nep, } } rn = (*rnh->rnh_addaddr)((caddr_t)saddr, (caddr_t)smask, rnh, - np->netc_rnodes); + np->netc_rnodes, 0); if (rn == 0 || np != (struct netcred *)rn) { /* already exists */ error = EPERM; goto out; |