[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100401.003459.88028238.davem@davemloft.net>
Date: Thu, 01 Apr 2010 00:34:59 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jchapman@...alix.com
Cc: shemminger@...tta.com, netdev@...r.kernel.org
Subject: Re: [PATCH v3 04/12] l2tp: Add ppp device name to L2TP ppp session
data
From: James Chapman <jchapman@...alix.com>
Date: Thu, 01 Apr 2010 08:19:43 +0100
> There might be thousands of L2TP sessions in some setups. Populating
> sysfs with a link for each of those sessions isn't practical. The
> existing /proc file dumps its info as a single text file for this
> reason. I'd also like to provide the device name in the session netlink
> message, which is the interface used by l2tp userspace, so I need a
> kernel API to retrieve the device name from ppp.
Scalability concerns are also another reason _not_ to use
procfs.
Use netlink or similar, which can dump with filtering and
proper queueing.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists