projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: fix a memleak when uncloning an skb dst and its metadata
[linux-2.6-microblaze.git]
/
include
/
net
/
dst_metadata.h
diff --git
a/include/net/dst_metadata.h
b/include/net/dst_metadata.h
index
b997e0c
..
adab27b
100644
(file)
--- a/
include/net/dst_metadata.h
+++ b/
include/net/dst_metadata.h
@@
-137,7
+137,6
@@
static inline struct metadata_dst *tun_dst_unclone(struct sk_buff *skb)
#endif
skb_dst_drop(skb);
- dst_hold(&new_md->dst);
skb_dst_set(skb, &new_md->dst);
return new_md;
}