diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-03-23 11:07:27 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-23 17:13:54 -0500 |
commit | 866b4f3e94a7568a1cb0018c061e19e120de6922 (patch) | |
tree | ce9f82edb063145a46d5bc84d7e38d153272bc46 /drivers/net/skge.h | |
parent | 4c180fc424550217344db6fe8960732dbd7feb0c (diff) | |
download | blackbird-op-linux-866b4f3e94a7568a1cb0018c061e19e120de6922.tar.gz blackbird-op-linux-866b4f3e94a7568a1cb0018c061e19e120de6922.zip |
[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 <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/skge.h')
0 files changed, 0 insertions, 0 deletions