From: Nicolas Ferre <hidden> Date: 2016-09-12 07:38:08
Le 10/09/2016 à 13:17, Wei Yongjun a écrit :
From: Wei Yongjun <redacted>
Fix missing unlock before return from function macb_start_xmit()
in the error handling case.
Fixes: 007e4ba3ee13 ("net: macb: initialize checksum when using
checksum offloading")
Signed-off-by: Wei Yongjun <redacted>
Yes,
Acked-by: Nicolas Ferre <redacted>
Thanks. Best regards,
@@ -1398,7 +1398,7 @@ static int macb_start_xmit(struct sk_buff *skb, struct net_device *dev)if(macb_clear_csum(skb)){dev_kfree_skb_any(skb);-returnNETDEV_TX_OK;+gotounlock;}/* Map socket buffer for DMA transfer */
You are definitely right. Sorry I missed that obvious point and for causing any inconveniences.
BTW, I see there are obviously quite a few users of MACB implementations. I'm just curious if anybody else ever encountered the checksum problem or if this a matter of Zynq implementation only.
Regards,
Helmut
From: Wei Yongjun <redacted>
Fix missing unlock before return from function macb_start_xmit()
in the error handling case.
Fixes: 007e4ba3ee13 ("net: macb: initialize checksum when using
checksum offloading")
Signed-off-by: Wei Yongjun <redacted>
@@ -1398,7 +1398,7 @@ static int macb_start_xmit(struct sk_buff *skb, struct net_device *dev)if(macb_clear_csum(skb)){dev_kfree_skb_any(skb);-returnNETDEV_TX_OK;+gotounlock;}/* Map socket buffer for DMA transfer */
You are definitely right. Sorry I missed that obvious point and for
causing any inconveniences.
BTW, I see there are obviously quite a few users of MACB
implementations. I'm just curious if anybody else ever encountered the
checksum problem or if this a matter of Zynq implementation only.
I've just verified that we are affected by this issue as well on sama5d2
(Microchip / Atmel cortex-A5 MPUs).
Thanks for the fix,
--
Nicolas Ferre