[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5989.1474654831@warthog.procyon.org.uk>
Date: Fri, 23 Sep 2016 19:20:31 +0100
From: David Howells <dhowells@...hat.com>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
Cc: dhowells@...hat.com, netdev@...r.kernel.org,
linux-afs@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next 07/15] rxrpc: Fix accidental cancellation of scheduled resend by ACK parser
Sergei Shtylyov <sergei.shtylyov@...entembedded.com> wrote:
> > case RXRPC_ACK_TYPE_NACK:
> > if (anno_type == RXRPC_TX_ANNO_NAK)
> > continue;
> > + if (anno_type == RXRPC_TX_ANNO_RETRANS)
> > + continue;
>
> Why not fold the above 2 *if*s together? Or use *else if* at least?
I have a pending patch that adds something between them.
David
Powered by blists - more mailing lists