X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fsched%2Fsch_gred.c;h=6cd8ddfb512d78ac0b77f24f5a2e1ceb3330968c;hb=64b3dcc35e8dcaa3032aa6aba416d05f41ead959;hp=b9493a09a870343fe90444bea4b1fac547d42e46;hpb=eddecbb601c9ea3fab7e67d7892010fc9426d1e6;p=pandora-kernel.git diff --git a/net/sched/sch_gred.c b/net/sched/sch_gred.c index b9493a09a870..6cd8ddfb512d 100644 --- a/net/sched/sch_gred.c +++ b/net/sched/sch_gred.c @@ -385,7 +385,7 @@ static inline int gred_change_vq(struct Qdisc *sch, int dp, struct gred_sched_data *q; if (table->tab[dp] == NULL) { - table->tab[dp] = kzalloc(sizeof(*q), GFP_KERNEL); + table->tab[dp] = kzalloc(sizeof(*q), GFP_ATOMIC); if (table->tab[dp] == NULL) return -ENOMEM; }