This is a note to let you know that I've just added the patch titled
sctp: Pass __GFP_NOWARN to hash table allocation attempts.
to the 2.6.38-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
sctp-pass-__gfp_nowarn-to-hash-table-allocation-attempts.patch
and it can be found in the queue-2.6.38 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From b51d6615ff5f9fc7c55727740b565b4eeafb7c4c Mon Sep 17 00:00:00 2001
From: David S. Miller <[email protected]>
Date: Wed, 30 Mar 2011 17:51:36 -0700
Subject: sctp: Pass __GFP_NOWARN to hash table allocation attempts.
From: David S. Miller <[email protected]>
[ Upstream commit a84b50ceb7d640437d0dc28a2bef0d0de054de89 ]
Like DCCP and other similar pieces of code, there are mechanisms
here to try allocating smaller hash tables if the allocation
fails. So pass in __GFP_NOWARN like the others do instead of
emitting a scary message.
Reported-by: Dave Jones <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
net/sctp/protocol.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -1204,7 +1204,7 @@ SCTP_STATIC __init int sctp_init(void)
if ((sctp_assoc_hashsize > (64 * 1024)) && order > 0)
continue;
sctp_assoc_hashtable = (struct sctp_hashbucket *)
- __get_free_pages(GFP_ATOMIC, order);
+ __get_free_pages(GFP_ATOMIC|__GFP_NOWARN, order);
} while (!sctp_assoc_hashtable && --order > 0);
if (!sctp_assoc_hashtable) {
pr_err("Failed association hash alloc\n");
@@ -1237,7 +1237,7 @@ SCTP_STATIC __init int sctp_init(void)
if ((sctp_port_hashsize > (64 * 1024)) && order > 0)
continue;
sctp_port_hashtable = (struct sctp_bind_hashbucket *)
- __get_free_pages(GFP_ATOMIC, order);
+ __get_free_pages(GFP_ATOMIC|__GFP_NOWARN, order);
} while (!sctp_port_hashtable && --order > 0);
if (!sctp_port_hashtable) {
pr_err("Failed bind hash alloc\n");
Patches currently in stable-queue which might be from [email protected] are
queue-2.6.38/net-ipv6-fix-duplicate-proc-sys-net-ipv6-neigh-directory-entries.patch
queue-2.6.38/tcp-avoid-cwnd-moderation-in-undo.patch
queue-2.6.38/net_sched-fix-ip_tos2prio.patch
queue-2.6.38/sctp-pass-__gfp_nowarn-to-hash-table-allocation-attempts.patch
queue-2.6.38/gianfar-fall-back-to-software-tcp-udp-checksum-on-older-controllers.patch
queue-2.6.38/pppoe-drop-pppox_zombies-in-pppoe_flush_dev.patch
queue-2.6.38/sparc64-fix-build-errors-with-gcc-4.6.0.patch
queue-2.6.38/l2tp-fix-possible-oops-on-l2tp_eth-module-unload.patch
queue-2.6.38/bridge-fix-possibly-wrong-mld-queries-ethernet-source-address.patch
queue-2.6.38/xfrm-refcount-destination-entry-on-xfrm_lookup.patch
queue-2.6.38/net-cdc-phonet-handle-empty-phonet-header.patch
queue-2.6.38/bridge-reset-ipcb-when-entering-ip-stack-on-nf_forward.patch
queue-2.6.38/sparc32-fix-might-be-used-uninitialized-warning-in-do_sparc_fault.patch
queue-2.6.38/fib-add-rtnl-locking-in-ip_fib_net_exit.patch
queue-2.6.38/sparc32-pass-task_struct-to-schedule_tail-in-ret_from_fork.patch
queue-2.6.38/sparc-fix-.size-directive-for-do_int_load.patch
queue-2.6.38/vlan-should-take-into-account-needed_headroom.patch
_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable