Commit:     6253db055eb62a1bd0a18a1d8489565303b2b1dd
Parent:     b5505c6e1071b32176c7548a3aaf0be49f7c763e
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Mon May 14 02:19:11 2007 -0700
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon May 14 02:19:11 2007 -0700

    [IPSEC]: Don't warn if high-order hash resize fails
    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
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/xfrm/xfrm_hash.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/net/xfrm/xfrm_hash.c b/net/xfrm/xfrm_hash.c
index 37643bb..55ab579 100644
--- 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);
                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);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to