diff options
author | Francois Romieu <romieu@fr.zoreil.com> | 2008-01-10 23:40:59 +0100 |
---|---|---|
committer | Francois Romieu <romieu@fr.zoreil.com> | 2008-01-17 23:35:09 +0100 |
commit | 0da1b995aee447656c0eb77e4e32468e37f868a3 (patch) | |
tree | c8fc52f334131349d4886b362c766eacd168746e /fs/gfs2/bmap.c | |
parent | 227bc24d675d80de1cfb3ab72891cc932dadbc3b (diff) |
ipg: plug Tx completion leak
The Tx skb release could not free more than one skb per call.
Add it to the fact that the xmit handler does not check for
a queue full condition and you have a recipe to leak quickly.
Let's release every pending Tx descriptor which has been given
back to the host CPU by the network controller. The xmit handler
suggests that it is done through the IPG_TFC_TFDDONE bit.
Remove the former "curr" computing: it does not produce anything
usable in its current form.
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'fs/gfs2/bmap.c')
0 files changed, 0 insertions, 0 deletions