[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151103.133753.1743961419370989382.davem@davemloft.net>
Date: Tue, 03 Nov 2015 13:37:53 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: jiri@...nulli.us
Cc: netdev@...r.kernel.org, idosch@...lanox.com, eladr@...lanox.com,
yotamg@...lanox.com, sfeldma@...il.com, f.fainelli@...il.com,
linux@...ck-us.net, vivien.didelot@...oirfairelinux.com
Subject: Re: [patch net-next] switchdev: respect SKIP_EOPNOTSUPP flag in
case there is no recursion
From: Jiri Pirko <jiri@...nulli.us>
Date: Tue, 3 Nov 2015 17:40:53 +0100
> From: Jiri Pirko <jiri@...lanox.com>
>
> Caller passing down the SKIP_EOPNOTSUPP switchdev flag expects that
> -EOPNOTSUPP cannot be returned. But in case of direct op call without
> recurtion, this may happen. So fix this by checking it always on the
> end of __switchdev_port_attr_set function.
>
> Fixes: 464314ea6c11 ("switchdev: skip over ports returning -EOPNOTSUPP when recursing ports")
> Signed-off-by: Jiri Pirko <jiri@...lanox.com>
Applied, thanks Jiri.
--
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