lkml.org 
[lkml]   [2018]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net 1/2] vmxnet3: avoid xmit reset due to a race in vmxnet3
From
From: Ronak Doshi <doshir@vmware.com>
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.

\
 
 \ /
  Last update: 2018-03-16 15:57    [W:0.052 / U:1.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site