summaryrefslogtreecommitdiffstats
path: root/drivers/net/pppox.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2008-01-10 23:40:59 +0100
committerFrancois Romieu <romieu@fr.zoreil.com>2008-01-17 23:35:09 +0100
commit0da1b995aee447656c0eb77e4e32468e37f868a3 (patch)
treec8fc52f334131349d4886b362c766eacd168746e /drivers/net/pppox.c
parent227bc24d675d80de1cfb3ab72891cc932dadbc3b (diff)
downloadtalos-op-linux-0da1b995aee447656c0eb77e4e32468e37f868a3.tar.gz
talos-op-linux-0da1b995aee447656c0eb77e4e32468e37f868a3.zip
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 'drivers/net/pppox.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud