]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/net/netfilter/nf_conntrack_extend.h
netfilter: conntrack: remove prealloc support
[mirror_ubuntu-artful-kernel.git] / include / net / netfilter / nf_conntrack_extend.h
index 5fc908dc9f3281a2f5ea755a5448747cce70a7c9..dd776bf9e2fa06a0ab0e87598cb2b610a58e0253 100644 (file)
@@ -88,21 +88,15 @@ static inline void nf_ct_ext_free(struct nf_conn *ct)
 /* Add this type, returns pointer to data or NULL. */
 void *nf_ct_ext_add(struct nf_conn *ct, enum nf_ct_ext_id id, gfp_t gfp);
 
-#define NF_CT_EXT_F_PREALLOC   0x0001
-
 struct nf_ct_ext_type {
        /* Destroys relationships (can be NULL). */
        void (*destroy)(struct nf_conn *ct);
 
        enum nf_ct_ext_id id;
 
-       unsigned int flags;
-
        /* Length and min alignment. */
        u8 len;
        u8 align;
-       /* initial size of nf_ct_ext. */
-       u8 alloc_size;
 };
 
 int nf_ct_extend_register(struct nf_ct_ext_type *type);