[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <B5657A6538887040AD3A81F1008BEC63C10D9E@avmb3.qlogic.org>
Date: Fri, 13 Mar 2015 19:02:36 +0000
From: Yuval Mintz <Yuval.Mintz@...gic.com>
To: David Miller <davem@...emloft.net>
CC: netdev <netdev@...r.kernel.org>,
Ariel Elior <Ariel.Elior@...gic.com>
Subject: RE: [PATCH net] bnx2x: Fix statistics locking scheme
> This is terrible.
> Either you use locking to protect critical sections, or you don't.
> I do not want to see any code that enters the critical
> section when the locked state cannot be acquired.
I've no real objection to re-spinning this,
given that it's an error flow we've never actually encountered.
Do notice that this doesn't change existing behavior of code.
I.e., existing code doesn't exit on failure to lock.--
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