]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:26:51 +0000 (13:26 -0800)
commit611a418f2d8508757f9ca9499fe5348e3df21e8e
tree27dc81f846acd64f6c7c8f06f7b7f5d5cfc02fd2
parent7e43ba7721a74ccc0f05ae83547215338aca95a8
netfilter: nf_conntrack: allow nf_ct_alloc_hashtable() to get highmem pages

commit 6b1686a71e3158d3c5f125260effce171cc7852b upstream.

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>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/netfilter/nf_conntrack_core.c