projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ipv4: use skb_dst_copy() in ip_copy_metadata()
[deliverable/linux.git]
/
net
/
ipv4
/
ip_output.c
diff --git
a/net/ipv4/ip_output.c
b/net/ipv4/ip_output.c
index 7d1f4b4481a913128f214c6bd07ee08f25bc8f64..d6478521128e34a8e5b9429db464b772df343727 100644
(file)
--- a/
net/ipv4/ip_output.c
+++ b/
net/ipv4/ip_output.c
@@
-411,7
+411,7
@@
static void ip_copy_metadata(struct sk_buff *to, struct sk_buff *from)
to->priority = from->priority;
to->protocol = from->protocol;
skb_dst_drop(to);
- skb_dst_
set(to, dst_clone(skb_dst(from))
);
+ skb_dst_
copy(to, from
);
to->dev = from->dev;
to->mark = from->mark;
This page took
0.027741 seconds
and
5
git commands to generate.