sock: struct proto hash function may error
[cascardo/linux.git] / include / net / raw.h
index 6a40c65..3e78900 100644 (file)
@@ -57,7 +57,7 @@ int raw_seq_open(struct inode *ino, struct file *file,
 
 #endif
 
-void raw_hash_sk(struct sock *sk);
+int raw_hash_sk(struct sock *sk);
 void raw_unhash_sk(struct sock *sk);
 
 struct raw_sock {