summaryrefslogtreecommitdiff
path: root/drivers/net/benet
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2010-06-30 11:59:12 (GMT)
committerDavid S. Miller <davem@davemloft.net>2010-07-02 05:45:52 (GMT)
commit3d8009c780ee90fccb5c171caf30aff839f13547 (patch)
tree489b142084ea073201e02ac8bbb91cf1a0400830 /drivers/net/benet
parent05318bc905467237d4aa68a701f6e92a2b332218 (diff)
downloadlinux-3d8009c780ee90fccb5c171caf30aff839f13547.tar.xz
ehea: Allocate stats buffer with GFP_KERNEL
Since ehea_get_stats calls ehea_h_query_ehea_port, which can sleep, we can also sleep when allocating a page in this function. This fixes some memory allocation failure warnings seen under low memory conditions. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet')
0 files changed, 0 insertions, 0 deletions