Skip to contentSkip to conversation

r8169: Be drop monitor friendly

PATCH In review Florian Fainelli 2 participants 2 messages Aug 25, 2017 – Aug 26, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

cover r8169: Be drop monitor friendly

Hi all,

First patch may be questionable but no other driver appears to be doing that and while it is defendable to account for left packets as dropped during TX clean, this appears misleadning. I picked Stanislaw changes which brings us back to 2010, but this was present from pre-git days as well.

Second patch fixes the two missing calls to dev_consume_skb_any().

Florian Fainelli (2):
r8169: Do not increment tx_dropped in TX ring cleaning
r8169: Be drop monitor friendly

 drivers/net/ethernet/realtek/r8169.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
Signature · 1 line
2.9.3
maintainer
#1 lore raw

From: Florian Fainelli <[email protected]>
Date: Thu, 24 Aug 2017 18:33:57 -0700

Quoted 4 lines

First patch may be questionable but no other driver appears to be doing that and while it is defendable to account for left packets as dropped during TX clean, this appears misleadning. I picked Stanislaw changes which brings us back to 2010, but this was present from pre-git days as well.

Right, drivers should not do this.

Quoted 1 line

Second patch fixes the two missing calls to dev_consume_skb_any().

Series applied, thanks.