Karicheri, Muralidharan e558b1fbf5 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>
2015-09-23 14:37:37 -07:00
..
2015-09-17 22:26:55 -07:00
2015-09-09 08:33:31 -07:00
2015-08-13 21:12:17 -07:00
2015-08-25 14:11:20 -07:00
2015-07-08 16:00:09 -07:00