From: Roopa Prabhu <ro...@cumulusnetworks.com>
Date: Tue, 15 Sep 2015 14:44:29 -0700

> From: Roopa Prabhu <ro...@cumulusnetworks.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 <aderum...@odiso.com>
> Signed-off-by: Roopa Prabhu <ro...@cumulusnetworks.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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to