Re: [PATCH net 1/2] vmxnet3: avoid xmit reset due to a race in vmxnet3

From: David Miller
Date: Fri Mar 16 2018 - 10:53:46 EST


From: Ronak Doshi <doshir@xxxxxxxxxx>
Date: Tue, 13 Mar 2018 12:40:08 -0700

> @@ -977,6 +977,8 @@ vmxnet3_tq_xmit(struct sk_buff *skb, struct vmxnet3_tx_queue *tq,
> {
> int ret;
> u32 count;
> + int numPkts;
> + int localTxNumDeferred;
> unsigned long flags;
> struct vmxnet3_tx_ctx ctx;
> union Vmxnet3_GenericDesc *gdesc;

Please use local variable names with all lowercase letters.