Updated to 2.6.32.27
/mm/mempolicy.c
blob:f29d8d70884d7fb2e170983bf0e551b02740f617 -> blob:3c6e3e29255caa2e89d446f21892625e0324212e
--- mm/mempolicy.c
+++ mm/mempolicy.c
@@ -1482,7 +1482,7 @@ unsigned slab_node(struct mempolicy *pol
(void)first_zones_zonelist(zonelist, highest_zoneidx,
&policy->v.nodes,
&zone);
- return zone->node;
+ return zone ? zone->node : numa_node_id();
}
default: