mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 07:38:10 +00:00
macvlan: replace kfree_skb by consume_skb for drop profiles
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>
This commit is contained in:
parent
87fff3cacd
commit
bf97403ac4
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ static void macvlan_process_broadcast(struct work_struct *w)
|
|||
|
||||
if (src)
|
||||
dev_put(src->dev);
|
||||
kfree_skb(skb);
|
||||
consume_skb(skb);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue