Re: [PATCH V2 net-next 15/15] smc: proc-fs interface for smc connections

David Miller
2016-09-28T02:27:41Z

From: Ursula Braun <ubraun@linux.vnet.ibm.com>
Date: Tue, 27 Sep 2016 18:41:56 +0200

> Maintain a list of SMC sockets and display important SMC socket
> information in /proc/net/smc.
>
> Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com>

Dumping internal tables and information via /procfs is strongly
deprecated.

Please use a more modern mechanism (such as netlink) to expose this
information to the user.

You'll be most likely to succeed in your submission if you make use of
or design a generic facility that allows other drivers similar to
your's to provide this kind of information as well.

I'm sorry if this is frustrating, but this is a huge piece of
infrastructure, therefore you can expect lots of pieces to get
feedback and require changes like this.