sctp: Pass __GFP_NOWARN to hash table allocation attempts.
authorDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2011 00:51:36 +0000 (17:51 -0700)
committerBrad Figg <brad.figg@canonical.com>
Wed, 27 Apr 2011 18:41:59 +0000 (11:41 -0700)
commitb92930a5dfb085010daff2675aefea05ce6f19d1
tree4e2e6bd0024e8e5a2908582db0d88deaf2a74e7c
parentb62982d44dff6f8af4af8d258dd92ce17fa01e97
sctp: Pass __GFP_NOWARN to hash table allocation attempts.

BugLink: http://bugs.launchpad.net/bugs/769042

[ 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>
Signed-off-by: Leann Ogasawara <leann.ogasawara@canonical.com>
net/sctp/protocol.c