diff options
author | Pekka Enberg <penberg@cs.helsinki.fi> | 2008-03-10 16:43:41 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-10 16:43:41 -0700 |
commit | 019f692ea719a2da17606511d2648b8cc1762268 (patch) | |
tree | 361999750dade856ff7dd1a5cb2ec2a06370f922 /include | |
parent | 3d89e9cf3690b4645ce73b86c219c8188f8fa50a (diff) |
[NETFILTER]: nf_conntrack: replace horrible hack with ksize()
There's a horrible slab abuse in net/netfilter/nf_conntrack_extend.c
that can be replaced with a call to ksize().
Cc: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netfilter/nf_conntrack_extend.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_conntrack_extend.h b/include/net/netfilter/nf_conntrack_extend.h index 49aac6323fbe..f736e842977f 100644 --- a/include/net/netfilter/nf_conntrack_extend.h +++ b/include/net/netfilter/nf_conntrack_extend.h @@ -17,7 +17,6 @@ enum nf_ct_ext_id struct nf_ct_ext { u8 offset[NF_CT_EXT_NUM]; u8 len; - u8 real_len; char data[0]; }; |