]> bbs.cooldavid.org Git - net-next-2.6.git/commit
netfilter: nf_conntrack: allow nf_ct_alloc_hashtable() to get highmem pages
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 28 Oct 2010 10:34:21 +0000 (12:34 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 28 Oct 2010 10:34:21 +0000 (12:34 +0200)
commit6b1686a71e3158d3c5f125260effce171cc7852b
tree4769381428b5a6e2bd7673c62c6a30f65ac1a2d9
parentc1758012971e0410790b2bc96a77e26d7b286593
netfilter: nf_conntrack: allow nf_ct_alloc_hashtable() to get highmem pages

commit ea781f197d6a8 (use SLAB_DESTROY_BY_RCU and get rid of call_rcu())
did a mistake in __vmalloc() call in nf_ct_alloc_hashtable().

I forgot to add __GFP_HIGHMEM, so pages were taken from LOWMEM only.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_core.c