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.
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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/