diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-10 10:48:37 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:24:39 -0400 |
commit | 31713c333ddbb66d694829082620b69b71c4b09a (patch) | |
tree | 71de8475b04972ef9bdf1d7b4fec0ebf6243cc32 | |
parent | c51957dafa6f960c5c6372aa3da6c8fa71c13730 (diff) |
[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>
-rw-r--r-- | net/ipv4/tcp_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_input.c b/net/ipv4/tcp_input.c index e5d1c2c8cea7..1ec05bd673a7 100644 --- a/net/ipv4/tcp_input.c +++ b/net/ipv4/tcp_input.c | |||
@@ -3633,7 +3633,7 @@ tcp_collapse(struct sock *sk, struct sk_buff_head *list, | |||
3633 | if (!nskb) | 3633 | if (!nskb) |
3634 | return; | 3634 | return; |
3635 | 3635 | ||
3636 | nskb->mac.raw = nskb->data + (skb->mac.raw - skb->head); | 3636 | skb_set_mac_header(nskb, skb->mac.raw - skb->head); |
3637 | nskb->nh.raw = nskb->data + (skb->nh.raw - skb->head); | 3637 | nskb->nh.raw = nskb->data + (skb->nh.raw - skb->head); |
3638 | nskb->h.raw = nskb->data + (skb->h.raw - skb->head); | 3638 | nskb->h.raw = nskb->data + (skb->h.raw - skb->head); |
3639 | 3639 | ||