Message ID | 1399328773-6531-4-git-send-email-andi@firstfloor.org |
---|---|
State | RFC, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/include/net/inet_frag.h b/include/net/inet_frag.h index 6f59de9..a8c5948 100644 --- a/include/net/inet_frag.h +++ b/include/net/inet_frag.h @@ -41,6 +41,10 @@ struct inet_frag_queue { struct netns_frags *net; }; +#ifdef CONFIG_BASE_SMALL +#define INETFRAGS_HASHSZ 16 +#define INETFRAGS_MAXDEPTH 32 +#else #define INETFRAGS_HASHSZ 1024 /* averaged: @@ -50,6 +54,8 @@ struct inet_frag_queue { */ #define INETFRAGS_MAXDEPTH 128 +#endif + struct inet_frag_bucket { struct hlist_head chain; spinlock_t chain_lock;