netdev
[Top] [All Lists]

Re: [PATCH] IPV4 route cache /proc interface cleanup

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] IPV4 route cache /proc interface cleanup
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Sun, 24 Aug 2003 04:16:32 -0700
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20030821163019.66cfe65c.shemminger@xxxxxxxx>
References: <20030821163019.66cfe65c.shemminger@xxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Thu, 21 Aug 2003 16:30:19 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> This patch to 2.6.0-test3 uses seq_file for /proc/net/rt_cache_stat
> Someone else already did the hard one /proc/net/rt_cache
> 
> Couple of other little nits:
> * use proc_net_fops_create to setup
> * collapse two_line setup functions into the init routine
> * proc_exit routine was never called and can go. 
> * cleaner to refer to proc_net as base rather than net/rt_acct

Applied, thanks Stephen.

<Prev in Thread] Current Thread [Next in Thread>