[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAE4R7bC4-prxLhafcgv-ruEK2Ya3mZxFkCnrxEEP8AUriiKrzw@mail.gmail.com>
Date: Wed, 17 Jun 2015 15:38:47 -0700
From: Scott Feldman <sfeldma@...il.com>
To: David Miller <davem@...emloft.net>
Cc: Netdev <netdev@...r.kernel.org>,
Jiří Pírko <jiri@...nulli.us>,
David Ahern <dsahern@...il.com>
Subject: Re: [PATCH net-next] switchdev: change BUG_ON to WARN for attr set
failure case
On Thu, Jun 11, 2015 at 4:27 PM, David Miller <davem@...emloft.net> wrote:
> From: sfeldma@...il.com
> Date: Thu, 11 Jun 2015 11:20:42 -0700
>
>> From: Scott Feldman <sfeldma@...il.com>
>>
>> This particular BUG_ON condition was checking for attr set err in the
>> COMMIT phase, which isn't expected (it's a driver bug if PREPARE phase is
>> OK but COMMIT fails). But BUG_ON() is too strong for this case, so change
>> to WARN(). BUG_ON() would be warranted if the system was corrupted beyond
>> repair, but this is not the case here.
>>
>> Signed-off-by: Scott Feldman <sfeldma@...il.com>
>
> Applied, thanks Scott.
I think this one slipped thru the cracks. I'm not seeing it in net-next.
--
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