From: Stephen Hemminger Date: Thu, 23 Mar 2006 19:07:27 +0000 (-0800) Subject: [PATCH] skge: dont free skb until multi-part transmit complete X-Git-Tag: v2.6.17-rc1~994^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=866b4f3e94a7568a1cb0018c061e19e120de6922;p=pandora-kernel.git [PATCH] skge: dont free skb until multi-part transmit complete Don't free transmit buffers until the whole set of transmit descriptors has been marked as done. Otherwise, we risk freeing a skb before the whole transmit is done. This changes the transmit completion handling from incremental to a two pass algorithm. First pass scans and records the start of the last done descriptor, second cleans up until that point. Signed-off-by: Stephen Hemminger Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed