tcp: handle tcp_net_metrics_init() order-5 memory allocation failures
authorEric Dumazet <eric.dumazet@gmail.com>
Fri, 16 Nov 2012 05:31:53 +0000 (05:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Nov 2012 18:36:27 +0000 (13:36 -0500)
commit976a702ac9eeacea09e588456ab165dc06f9ee83
treec7373df6e09bc8b43c2000f4de940b0573e888ea
parent6fc4adca6ce3e1d57a42707019dddcb883578a91
tcp: handle tcp_net_metrics_init() order-5 memory allocation failures

order-5 allocations can fail with current kernels, we should
try vmalloc() as well.

Reported-by: Julien Tinnes <jln@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_metrics.c