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/net/route.h | |
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/net/route.h')
-rw-r--r-- | sys/net/route.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index ac26efb31d3..668d0b7a437 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.68 2010/05/07 13:33:16 claudio Exp $ */ +/* $OpenBSD: route.h,v 1.69 2010/06/28 18:50:37 claudio Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -400,7 +400,7 @@ int rtrequest1(int, struct rt_addrinfo *, u_int8_t, struct rtentry **, void rt_if_remove(struct ifnet *); #ifndef SMALL_KERNEL void rt_if_track(struct ifnet *); -int rt_if_linkstate_change(struct radix_node *, void *); +int rt_if_linkstate_change(struct radix_node *, void *, u_int); #endif int rtdeletemsg(struct rtentry *, u_int); |