From: Tejun Heo <t...@kernel.org> Date: Fri, 31 Jan 2014 06:47:12 -0500
>> In above code isn't code line: >> err = br_dev->netdev_ops->ndo_bridge_getlink(skb, 0, 0, dev, 0); >> should be >> err = br_dev->netdev_ops->ndo_bridge_getlink(skb, 0, 0, br_dev, 0); >> >> If this needs to be changed then please review attached patch adding this >> change. It's not a typo, we want the actual underlying physical device. Look at the implementations such as drivers/net/ethernet/emulex/be_main.c: be_ndo_bridge_netlink(). It's doing things like: struct be_adapter *adapter = netdev_priv(dev); -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/