sctp: Pass __GFP_NOWARN to hash table allocation attempts.
commita83f2b584b54a123c408692eb19e0c97022be607
authorDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2011 00:51:36 +0000 (30 17:51 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 21 Apr 2011 21:32:29 +0000 (21 14:32 -0700)
tree1911410e4e64aa8b8a4507820eb7d19636abf5dd
parent215f7206f540704ead83838eacef25ec13b763fb
sctp: Pass __GFP_NOWARN to hash table allocation attempts.

[ 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 <davej@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sctp/protocol.c