]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commita77f5db361ed9953b5b749353ea2c7fed2bf8d93
tree31f9106359dd0585dc66af0f01d185d758a0dd56
parent6099e3dea9aaa6127cea0610533221c9e956f009
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