Thread (4 messages) flat view 4 messages, 2 authors, 2012-02-06

Re: [PATCH 2/2] mlx4: fix DMA mapping leak when allocation fails

From: David Miller <davem@davemloft.net>
Date: 2012-02-06 19:43:16
Also in: lkml

From: Thadeu Lima de Souza Cascardo <redacted>
Date: Mon,  6 Feb 2012 16:39:50 -0200
mlx4_en_prepare_rx_desc does not correctly clean up after it finds an
allocation failure. It should unmap a page before calling put_page, but
it only calls the later.

This bug would prevent a device removal using hotplug after setting the
device MTU to 9000 and opening the network interface. After the fix, we
still see the allocation failure with MTU 9000, but we are able to
remove the device.

Signed-off-by: Thadeu Lima de Souza Cascardo <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help