ing for another bug, I also noticed that sys_accept() has a
possibility of doing a module_put() when it did not do an __module_get
so I re-ordered the call to security_socket_accept().
Thanks
Frank
---
Signed-off-by: Frank Filz <[EMAIL PROTECTED]>
diff --git a/net/core/sock.c b/net/core/
below.
Thanks
Frank
---
Signed-off-by: Frank Filz <[EMAIL PROTECTED]>
diff --git a/net/core/sock.c b/net/core/sock.c
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -660,16 +660,20 @@ struct sock *sk_alloc(int family, unsign
sock_
n __module_get
so I re-ordered the call to security_socket_accept().
Signed-off-by: Frank Filz <[EMAIL PROTECTED]>
---
diff --git a/net/core/sock.c b/net/core/sock.c
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -667,7 +667,7 @@ struct sock *sk_alloc(int family, unsign