summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKaricheri, Muralidharan <m-karicheri2@ti.com>2015-09-23 20:37:08 +0300
committerDavid S. Miller <davem@davemloft.net>2015-09-24 00:37:37 +0300
commite558b1fbf5f43da83f91a31e595a6d65e663b100 (patch)
tree8bc401661d3acf3cf3ddd1d3afc74975d58e713d /tools/perf/scripts/python/export-to-postgresql.py
parent736532a0705ffc27c14f712fa2758a7f8b15e8b4 (diff)
downloadlinux-e558b1fbf5f43da83f91a31e595a6d65e663b100.tar.xz
net: netcp: add error check to netcp_allocate_rx_buf()
Currently, if netcp_allocate_rx_buf() fails due no descriptors in the rx free descriptor queue, inside the netcp_rxpool_refill() function the iterative loop to fill buffers doesn't terminate right away. So modify the netcp_allocate_rx_buf() to return an error code and use it break the loop when there is error. Signed-off-by: Murali Karicheri <m-karicheri2@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions