diff options
author | Karicheri, Muralidharan <m-karicheri2@ti.com> | 2015-09-23 13:37:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-23 14:37:37 -0700 |
commit | e558b1fbf5f43da83f91a31e595a6d65e663b100 (patch) | |
tree | 8bc401661d3acf3cf3ddd1d3afc74975d58e713d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 736532a0705ffc27c14f712fa2758a7f8b15e8b4 (diff) |
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