summaryrefslogtreecommitdiffstats
path: root/net/sctp/socket.c
diff options
context:
space:
mode:
authorsebastian@breakpoint.cc <sebastian@breakpoint.cc>2007-07-26 23:21:32 +0200
committerVlad Yasevich <vladislav.yasevich@hp.com>2007-08-01 11:19:06 -0400
commit0a5fcb9cf8e5c3fabaab1c20668f58fe85d7c70d (patch)
tree508f08c2a9724529818fbbdfe38a7462f4dd7061 /net/sctp/socket.c
parent046752104c7090e3679b09274f02d8fd2aa0b4b2 (diff)
downloadop-kernel-dev-0a5fcb9cf8e5c3fabaab1c20668f58fe85d7c70d.zip
op-kernel-dev-0a5fcb9cf8e5c3fabaab1c20668f58fe85d7c70d.tar.gz
sctp: move global declaration to header file.
sctp_chunk_cachep & sctp_bucket_cachep is used module global, so move it to a header file. Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sctp/socket.c')
-rw-r--r--net/sctp/socket.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/sctp/socket.c b/net/sctp/socket.c
index f8bacc8..f8de0eb 100644
--- a/net/sctp/socket.c
+++ b/net/sctp/socket.c
@@ -107,8 +107,6 @@ static void sctp_sock_migrate(struct sock *, struct sock *,
struct sctp_association *, sctp_socket_type_t);
static char *sctp_hmac_alg = SCTP_COOKIE_HMAC_ALG;
-extern struct kmem_cache *sctp_bucket_cachep;
-
/* Get the sndbuf space available at the time on the association. */
static inline int sctp_wspace(struct sctp_association *asoc)
{
OpenPOWER on IntegriCloud