projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87fff3c
)
macvlan: replace kfree_skb by consume_skb for drop profiles
author
Yang Wei
<yang.wei9@zte.com.cn>
Thu, 17 Jan 2019 15:30:03 +0000
(23:30 +0800)
committer
David S. Miller
<davem@davemloft.net>
Fri, 18 Jan 2019 06:09:09 +0000
(22:09 -0800)
Replace the kfree_skb() by consume_skb() to be drop monitor(dropwatch,
perf) friendly.
Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/macvlan.c
patch
|
blob
|
history
diff --git
a/drivers/net/macvlan.c
b/drivers/net/macvlan.c
index fc726ce4c164efaa30e713529f217a40c548a9ec..6d067176320fe845e5ef5804044c55614b5392fd 100644
(file)
--- a/
drivers/net/macvlan.c
+++ b/
drivers/net/macvlan.c
@@
-337,7
+337,7
@@
static void macvlan_process_broadcast(struct work_struct *w)
if (src)
dev_put(src->dev);
-
kfre
e_skb(skb);
+
consum
e_skb(skb);
}
}