[NET]: Kill skb->list

Remove the "list" member of struct sk_buff, as it is entirely
redundant.  All SKB list removal callers know which list the
SKB is on, so storing this in sk_buff does nothing other than
taking up some space.

Two tricky bits were SCTP, which I took care of, and two ATM
drivers which Francois Romieu <[email protected]> fixed
up.

Signed-off-by: David S. Miller <[email protected]>
Signed-off-by: Francois Romieu <[email protected]>
This commit is contained in:
David S. Miller 2005-08-09 19:25:21 -07:00 • committed by David S. Miller
commit 8728b834b2
29 changed files with 229 additions and 283 deletions

View file

@ -869,7 +869,7 @@ static void aun_tx_ack(unsigned long seq, int result)
foundit:
tx_result(skb->sk, eb->cookie, result);
skb_unlink(skb);
skb_unlink(skb, &aun_queue);
spin_unlock_irqrestore(&aun_queue_lock, flags);
kfree_skb(skb);
}
@ -947,7 +947,7 @@ static void ab_cleanup(unsigned long h)
{
tx_result(skb->sk, eb->cookie,
ECTYPE_TRANSMIT_NOT_PRESENT);
skb_unlink(skb);
skb_unlink(skb, &aun_queue);
kfree_skb(skb);
}
skb = newskb;