summaryrefslogtreecommitdiff
path: root/xmalloc.h
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-05-27 11:21:03 -0400
committerDaniel Borkmann <dborkman@redhat.com>2013-05-27 17:23:27 +0200
commit4d1e7a9f186e32eb701ccedeefd677f4a068552b (patch)
tree91fee742f397b33c7b5eb95c3c8eef900e6c6669 /xmalloc.h
parent130af2b5b219b7ea02f27fd41c87cb00271f3c3e (diff)
ifpps: fix bug_on trigger when parsing irq number
When parsing irq numbers on e.g. 24 CPU machines, procfs lines can get very long, so our static temporary buffer size will fail here with: Assertion `!(stats->irq_nr == 0)' failed. So allocate it relative to the CPU number. Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'xmalloc.h')
0 files changed, 0 insertions, 0 deletions