Re: [PATCH FIX net-next v1] net-forcedeth: fix possible statsinaccuracies on 32b hosts

From: Eric Dumazet
Date: Thu Nov 17 2011 - 15:08:20 EST


Le jeudi 17 novembre 2011 Ã 11:38 -0800, David Decotigny a Ãcrit :
> The software stats are updated from BH, this change ensures that 32b
> UP hosts use appropriate protection.
>
> Tested:
> - HW/SW stats consistent with pktgen (in particular tx=rx)
> - HW/SW stats consistent when tx/rx offloads disabled
> - no problem with+without lockdep (SMP 16-way)
>
>
>
> Signed-off-by: David Decotigny <david.decotigny@xxxxxxxxxx>

Acked-by: Eric Dumazet <eric.dumazet@xxxxxxxxx>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/