]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2011 00:51:36 +0000 (17:51 -0700)
commitd6a5393b6908480ea5bbc7a07f35dfcda8a4b4ff
treee16a02b6be682dd9c3560fe7639331d1f1d62fa1
parent062a51bfec58380f10d0ebe2d7a46b72197f01e1
sctp: Pass __GFP_NOWARN to hash table allocation attempts.

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>
net/sctp/protocol.c