summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorPekka Enberg <penberg@cs.helsinki.fi>2008-03-10 16:43:41 -0700
committerDavid S. Miller <davem@davemloft.net>2008-03-10 16:43:41 -0700
commit019f692ea719a2da17606511d2648b8cc1762268 (patch)
tree361999750dade856ff7dd1a5cb2ec2a06370f922 /include/net
parent3d89e9cf3690b4645ce73b86c219c8188f8fa50a (diff)
downloadblackbird-op-linux-019f692ea719a2da17606511d2648b8cc1762268.tar.gz
blackbird-op-linux-019f692ea719a2da17606511d2648b8cc1762268.zip
[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/net')
-rw-r--r--include/net/netfilter/nf_conntrack_extend.h1
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];
};
OpenPOWER on IntegriCloud