From ae93005862b21302c538ddb1e500cfbb4f8a0a5c Mon Sep 17 00:00:00 2001 From: "sebastian@breakpoint.cc" Date: Thu, 26 Jul 2007 23:21:32 +0200 Subject: [PATCH] --- yaml --- r: 63617 b: refs/heads/master c: 0a5fcb9cf8e5c3fabaab1c20668f58fe85d7c70d h: refs/heads/master i: 63615: 5e0fa15adc860e3e64ca3ae358dc41329dbef587 v: v3 --- [refs] | 2 +- trunk/include/net/sctp/sctp.h | 10 ++++++++++ trunk/net/sctp/sm_make_chunk.c | 2 -- trunk/net/sctp/socket.c | 2 -- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/[refs] b/[refs] index cb379d55c387..50063c4b930a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 046752104c7090e3679b09274f02d8fd2aa0b4b2 +refs/heads/master: 0a5fcb9cf8e5c3fabaab1c20668f58fe85d7c70d diff --git a/trunk/include/net/sctp/sctp.h b/trunk/include/net/sctp/sctp.h index 16baef4dab7e..d529045c1679 100644 --- a/trunk/include/net/sctp/sctp.h +++ b/trunk/include/net/sctp/sctp.h @@ -189,6 +189,16 @@ int sctp_assocs_proc_init(void); void sctp_assocs_proc_exit(void); +/* + * Module global variables + */ + + /* + * sctp/protocol.c + */ +extern struct kmem_cache *sctp_chunk_cachep __read_mostly; +extern struct kmem_cache *sctp_bucket_cachep __read_mostly; + /* * Section: Macros, externs, and inlines */ diff --git a/trunk/net/sctp/sm_make_chunk.c b/trunk/net/sctp/sm_make_chunk.c index 8d18f570c2e6..ad02311dcd83 100644 --- a/trunk/net/sctp/sm_make_chunk.c +++ b/trunk/net/sctp/sm_make_chunk.c @@ -65,8 +65,6 @@ #include #include -extern struct kmem_cache *sctp_chunk_cachep; - SCTP_STATIC struct sctp_chunk *sctp_make_chunk(const struct sctp_association *asoc, __u8 type, __u8 flags, int paylen); diff --git a/trunk/net/sctp/socket.c b/trunk/net/sctp/socket.c index f8bacc898e12..f8de0eb235d9 100644 --- a/trunk/net/sctp/socket.c +++ b/trunk/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) {