Phonet: put sockets in a hash table

Signed-off-by: Rémi Denis-Courmont <remi.denis-courmont@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Rémi Denis-Courmont
2009-11-09 02:17:01 +00:00
committed by David S. Miller
parent 4a9b5e5053
commit 6b0d07ba15
3 changed files with 56 additions and 25 deletions

View File

@@ -481,6 +481,7 @@ static int __init phonet_init(void)
if (err)
return err;
pn_sock_init();
err = sock_register(&phonet_proto_family);
if (err) {
printk(KERN_ALERT