Re: [PATCH] Clean up fib_hash datastructures
From: "David S. Miller" <davem@davemloft.net>
Date: 2004-09-20 02:46:42
From: "David S. Miller" <davem@davemloft.net>
Date: 2004-09-20 02:46:42
On 19 Sep 2004 20:39:43 -0400 jamal [off-list ref] wrote:
Will look at rest of patch and get back to you. Curious piece like you note:quoted
Does anyone know what this test: if (!iter->zone->fz_next) continue; in fib_get_first() is doing? I kept it there but it looks fishy.Yes, it is fishy;-> patch attached. Probably one of the more interesting typos i have seen recently
Aha, yes, if you look at the original code before this stuff was converted to use seq_file, and therefore the 2.4.x copy of this code, the typo is even more obvious. Good spotting Jamal.