| To: | "James R. Leu" <jleu@xxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: rt_cache_flush() |
| From: | Andi Kleen <ak@xxxxxx> |
| Date: | Mon, 1 May 2000 21:11:45 +0200 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20000501103620.A7015@xxxxxxxxxxxxx>; from James R. Leu on Mon, May 01, 2000 at 04:36:56PM +0200 |
| References: | <20000501103620.A7015@xxxxxxxxxxxxx> |
| Sender: | owner-netdev@xxxxxxxxxxx |
On Mon, May 01, 2000 at 04:36:56PM +0200, James R. Leu wrote: > I am fiddling with entries in the fib table and each time I modify a > fib entry I want all entries in the route cache that used this fib entry > to be flushed. > > rt_cache_flush() seems to want to flush the whole cache. For some reason > it doesn't seem to be working. Is this the correct way to flush the entire > route cache? What about entries that still have a ref_cnt > 0? You set rt->u.dst.obsolete = 1 and expect the clients to relookup when they can. -Andi -- This is like TV. I don't like TV. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PATCH 2.2.14 net/core/dev.c, kuznet |
|---|---|
| Next by Date: | Re: rt_cache_flush(), James R. Leu |
| Previous by Thread: | rt_cache_flush(), James R. Leu |
| Next by Thread: | Re: rt_cache_flush(), James R. Leu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |