]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: fix call of ndo_dflt_bridge_getlink()
authorHuaibin Wang <huaibin.wang@6wind.com>
Mon, 26 Sep 2016 07:51:18 +0000 (09:51 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 27 Oct 2016 21:12:52 +0000 (14:12 -0700)
commitdaf7cdc530285bfc4403459602f7240b72509855
tree7a0685fe492b0a7b073d82677ab5b5281d11df25
parentf6d4088d35b7b53537bd76a04d2fda2eb47ee9d6
i40e: fix call of ndo_dflt_bridge_getlink()

Order of arguments is wrong.
The wrong code has been introduced by commit 8a872dcc3b1e, but is compiled
only since commit dbf8431422c4.

Note that this may break netlink dumps.

Fixes: dbf8431422c4 ("i40e: Remove incorrect #ifdef's")
Fixes: 8a872dcc3b1e ("switchdev; add VLAN support for port's bridge_getlink")
CC: Carolyn Wyborny <carolyn.wyborny@intel.com>
Signed-off-by: Huaibin Wang <huaibin.wang@6wind.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c