[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20101124.113714.232765158.davem@davemloft.net>
Date: Wed, 24 Nov 2010 11:37:14 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: jonas@...thpole.se
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 5/8] ethoc: Double check pending RX packet
From: Jonas Bonn <jonas@...thpole.se>
Date: Wed, 24 Nov 2010 14:40:55 +0100
> An interrupt may occur between checking bd.stat and clearing the
> interrupt source register which would result in the packet going totally
> unnoticed as the interrupt will be missed. Double check bd.stat after
> clearing the interrupt source register to guard against such an
> occurrence.
>
> Signed-off-by: Jonas Bonn <jonas@...thpole.se>
...
> + if (bd.stat & RX_BD_EMPTY)
Trailing whitespace.
> + break;
> +
> + }
Unnecessary empty line.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists