aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/ip_output.c')
-rw-r--r--net/ipv4/ip_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_output.c b/net/ipv4/ip_output.c
index 875da382d9b9..34606eff8a05 100644
--- a/net/ipv4/ip_output.c
+++ b/net/ipv4/ip_output.c
@@ -596,7 +596,7 @@ slow_path:
596 * Copy the packet header into the new buffer. 596 * Copy the packet header into the new buffer.
597 */ 597 */
598 598
599 memcpy(skb_network_header(skb2), skb->data, hlen); 599 skb_copy_from_linear_data(skb, skb_network_header(skb2), hlen);
600 600
601 /* 601 /*
602 * Copy a block of the IP datagram. 602 * Copy a block of the IP datagram.