[TCP]: Use skb_set_mac_header in tcp_collapse

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-03-10 12:48:37 -03:00 committed by David S. Miller
parent c51957dafa
commit 31713c333d
1 changed files with 1 additions and 1 deletions

View File

@ -3633,7 +3633,7 @@ tcp_collapse(struct sock *sk, struct sk_buff_head *list,
if (!nskb)
return;
nskb->mac.raw = nskb->data + (skb->mac.raw - skb->head);
skb_set_mac_header(nskb, skb->mac.raw - skb->head);
nskb->nh.raw = nskb->data + (skb->nh.raw - skb->head);
nskb->h.raw = nskb->data + (skb->h.raw - skb->head);