mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 04:33:26 +02:00
[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 <romieu@fr.zoreil.com> fixed up. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
This commit is contained in:
committed by
David S. Miller
parent
6869c4d8e0
commit
8728b834b2
@@ -78,7 +78,7 @@ void lapb_requeue_frames(struct lapb_cb *lapb)
|
||||
if (!skb_prev)
|
||||
skb_queue_head(&lapb->write_queue, skb);
|
||||
else
|
||||
skb_append(skb_prev, skb);
|
||||
skb_append(skb_prev, skb, &lapb->write_queue);
|
||||
skb_prev = skb;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user