projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SK_BUFF]: Introduce skb_copy_from_linear_data{_offset}
[deliverable/linux.git]
/
net
/
ipv4
/
ip_output.c
diff --git
a/net/ipv4/ip_output.c
b/net/ipv4/ip_output.c
index 875da382d9b9e4dba6b78bc42724786e2d90e212..34606eff8a05d76b4d03095e76dc80736557c59f 100644
(file)
--- a/
net/ipv4/ip_output.c
+++ b/
net/ipv4/ip_output.c
@@
-596,7
+596,7
@@
slow_path:
* Copy the packet header into the new buffer.
*/
-
memcpy(skb_network_header(skb2), skb->data
, hlen);
+
skb_copy_from_linear_data(skb, skb_network_header(skb2)
, hlen);
/*
* Copy a block of the IP datagram.
This page took
0.025348 seconds
and
5
git commands to generate.