[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150915.150426.281510694142997913.davem@davemloft.net>
Date: Tue, 15 Sep 2015 15:04:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: roopa@...ulusnetworks.com
Cc: aderumier@...so.com, sfeldma@...il.com, jiri@...nulli.us,
netdev@...r.kernel.org
Subject: Re: [PATCH net v2] rtnetlink: catch -EOPNOTSUPP errors from
ndo_bridge_getlink
From: Roopa Prabhu <roopa@...ulusnetworks.com>
Date: Tue, 15 Sep 2015 14:44:29 -0700
> From: Roopa Prabhu <roopa@...ulusnetworks.com>
...
> ndo_bridge_getlink can return -EOPNOTSUPP when an interfaces
> ndo_bridge_getlink op is set to switchdev_port_bridge_getlink
> and CONFIG_SWITCHDEV is not defined. This today can happen to
> bond, rocker and team devices. This patch adds -EOPNOTSUPP
> checks after calls to ndo_bridge_getlink.
>
> Fixes: 85fdb956726ff2a ("switchdev: cut over to new switchdev_port_bridge_getlink")
> Reported-by: Alexandre DERUMIER <aderumier@...so.com>
> Signed-off-by: Roopa Prabhu <roopa@...ulusnetworks.com>
> ---
> v2: fix checkpatch errors
Applied, thanks for fixing this Roopa.
--
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