Searched hist:f51a5e82ea9aaf05106c00d976e772ca384a9199 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ |
H A D | macvtap.c | diff f51a5e82ea9aaf05106c00d976e772ca384a9199 Mon Dec 01 02:53:15 CST 2014 Jason Wang <jasowang@redhat.com> 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 <eric.dumazet@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | tun.c | diff f51a5e82ea9aaf05106c00d976e772ca384a9199 Mon Dec 01 02:53:15 CST 2014 Jason Wang <jasowang@redhat.com> 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 <eric.dumazet@gmail.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|