On Sat, 2013-06-29 at 15:58 -0700, greearb@xxxxxxxxxxxxxxx wrote: > From: Ben Greear <greearb@xxxxxxxxxxxxxxx> > > Helps debug bad hash spreads, like when you have lots of > station interfaces all connected to the same AP. I'm willing to take this patch, but > + res += sprintf(buf + res, "%i: %i\n", q, cnt); > + if (res >= (STA_HASH_SIZE * 10)) { > + res = STA_HASH_SIZE * 10; > + break; tihs needs to use "maxln" (what does that variable mean anyway? it's more like "bufsize"?) and snprintf(). johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html