提交 31713c33 编写于 作者: A Arnaldo Carvalho de Melo 提交者: David S. Miller

[TCP]: Use skb_set_mac_header in tcp_collapse

Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c51957da
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册