]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Allocate register dump buffer with vmalloc()
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 20 Sep 2010 08:42:17 +0000 (08:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Sep 2010 21:57:59 +0000 (14:57 -0700)
commitbbd966cc12f8312768439a102264490823d6da99
tree31f9106359dd0585dc66af0f01d185d758a0dd56
parent77c6952089b1cc6c234dedc58b07ad18785ddee6
ethtool: Allocate register dump buffer with vmalloc()

Some NICs have huge register files which exceed the maximum heap
allocation size.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/ethtool.c