lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20120812.154416.1611788053634506933.yamato@redhat.com> Date: Sun, 12 Aug 2012 15:44:16 +0900 (JST) From: Masatake YAMATO <yamato@...hat.com> To: davem@...emloft.net Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH v2 01/15] net: proc entry showing inodes on sockfs and their types > > Sorry, you cannot do this. > > You are adding a new lock and insert into a global list for > pretty much every socket created, that will destroy performance. I think there are no serious performance penalty in generally use. Most frequently used types of sockets like tcp, udp, and unix are not stored to the global list and don't touch the new lock at all. Please, look at has_own_proc_entry in struct proto. > You also cannnot add new fields to socket listing procfs files, > it will break existing application which depend upon the existing > exact layout of those fields. Is there any strcut which can be extended? Extending struct sock is o.k.? Masatake YAMATO -- 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