Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDMA/iw_cxgb4: allocate enough space for debugfs "qps" dump

With IPv6 addresses, the "qps" debugfs is running out of space and
truncating the output. Bump the required size accordingly.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>

authored by

Hariprasad S and committed by
Doug Ledford
68cebcab 3d4e7994

+1 -1
+1 -1
drivers/infiniband/hw/cxgb4/device.c
··· 317 317 idr_for_each(&qpd->devp->qpidr, count_idrs, &count); 318 318 spin_unlock_irq(&qpd->devp->lock); 319 319 320 - qpd->bufsize = count * 128; 320 + qpd->bufsize = count * 180; 321 321 qpd->buf = vmalloc(qpd->bufsize); 322 322 if (!qpd->buf) { 323 323 kfree(qpd);