projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5505c6
)
[IPSEC]: Don't warn if high-order hash resize fails
author
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 14 May 2007 09:19:11 +0000
(
02:19
-0700)
committer
David S. Miller
<davem@davemloft.net>
Mon, 14 May 2007 09:19:11 +0000
(
02:19
-0700)
Multi-page allocations are always likely to fail. Since such failures
are expected and non-critical in xfrm_hash_alloc, we shouldn't warn about
them.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/xfrm/xfrm_hash.c
patch
|
blob
|
blame
|
history
diff --git
a/net/xfrm/xfrm_hash.c
b/net/xfrm/xfrm_hash.c
index 37643bb8768a83fe6bea2bb40a007cc2a78ee503..55ab5792af56ecdfd2e5cafe0de0cd697246f475 100644
(file)
--- a/
net/xfrm/xfrm_hash.c
+++ b/
net/xfrm/xfrm_hash.c
@@
-22,7
+22,8
@@
struct hlist_head *xfrm_hash_alloc(unsigned int sz)
n = __vmalloc(sz, GFP_KERNEL, PAGE_KERNEL);
else
n = (struct hlist_head *)
- __get_free_pages(GFP_KERNEL, get_order(sz));
+ __get_free_pages(GFP_KERNEL | __GFP_NOWARN,
+ get_order(sz));
if (n)
memset(n, 0, sz);