Re: [PATCH] net: mvpp2: fix dma unmapping of TX buffers for fragments
From: David Miller <davem@davemloft.net>
Date: 2016-12-17 16:35:50
Also in:
linux-arm-kernel, stable
From: David Miller <davem@davemloft.net>
Date: 2016-12-17 16:35:50
Also in:
linux-arm-kernel, stable
From: Thomas Petazzoni <redacted> Date: Sat, 17 Dec 2016 16:26:58 +0100
Yes, I was thinking of moving towards a single array, as it's indeed crazy to have three arrays for that. However, since it's a fix going into stable, I also wanted to keep it as simple/straightforward as possible and avoid refactoring other parts of the code.
By the same token, by adding a third array you are making the code more complex, adding more error recovery paths, etc.
If you however believe moving to one array should be done as part of the fix, I'll do this.
Please do.