From: Peter P Waskiewicz Jr Date: Fri, 26 Dec 2008 09:36:33 +0000 (-0800) Subject: ixgbe: Fix set_ringparam in ixgbe to use the same memory pools. X-Git-Tag: v2.6.29-rc1~581^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3fa4721456226d77475181a4bfbe5b3d899d65c;p=pandora-kernel.git ixgbe: Fix set_ringparam in ixgbe to use the same memory pools. The adapter rings are kcalloc()'d, but in set_ringparam() in ixgbe_ethtool, we replace that memory from the vmalloc() pool. This can result in a NULL pointer reference when trying to modify the rings at a later time, or on device removal. Signed-off-by: Peter P Waskiewicz Jr Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed