net: lpc_eth: free skbs in start_xmit
authorEric Dumazet <edumazet@google.com>
Tue, 12 Jun 2012 23:58:16 +0000 (23:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 Jun 2012 23:28:32 +0000 (16:28 -0700)
commita7e2eaadd0edf6d71637c0d99aca404b0da8c1be
treefa4a711366c8e547e648c5e98ac89c5f1628ae19
parent79504d708d8be4131fbb115912521739c11db750
net: lpc_eth: free skbs in start_xmit

Transmitted skbs can be freed immediately in lpc_eth_hard_start_xmit()
instead of at TX completion, since driver copies the frames in DMA area.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Tested-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nxp/lpc_eth.c