Hi Jules,
On Wed, Mar 25, 2020 at 03:18:00PM +0100, Jules Maselbas wrote:
> Hi Sascha,
>
> > + undev->rx_buf = dma_alloc(undev->rx_urb_size);
> Looks like this buffer is never free, same for tx_buf.
Right, thanks for noting. Fixed.
Regards
Sascha
--
Pengutronix e.K.
Hi Sascha,
> + undev->rx_buf = dma_alloc(undev->rx_urb_size);
Looks like this buffer is never free, same for tx_buf.
Best regards,
Jules
___
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
Allocate an individual rx buffer per device in the size we need it
instead of using one global buffer for all devices.
Signed-off-by: Sascha Hauer
---
drivers/net/usb/usbnet.c | 15 ++-
include/usb/usbnet.h | 1 +
2 files changed, 11 insertions(+), 5 deletions(-)
diff --git a/d