From: Jason Wang Date: Mon, 1 Dec 2014 08:53:15 +0000 (+0800) Subject: tun/macvtap: use consume_skb() instead of kfree_skb() when needed X-Git-Tag: omap-for-v3.19/fixes-rc1~125^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f51a5e82ea9aaf05106c00d976e772ca384a9199;p=pandora-kernel.git tun/macvtap: use consume_skb() instead of kfree_skb() when needed To be more friendly with drop monitor, we should only call kfree_skb() when the packets were dropped and use consume_skb() in other cases. Cc: Eric Dumazet Signed-off-by: Jason Wang Acked-by: Michael S. Tsirkin Signed-off-by: David S. Miller --- Reading git-diff-tree failed