Commit bddade68 authored by Huaibin Wang's avatar Huaibin Wang Committed by Luis Henriques

i40e: fix call of ndo_dflt_bridge_getlink()

BugLink: http://bugs.launchpad.net/bugs/1642968

commit 599b076d upstream.

Order of arguments is wrong.
The wrong code has been introduced by commit 7d4f8d87, but is compiled
only since commit 9df70b66.

Note that this may break netlink dumps.

Fixes: 9df70b66 ("i40e: Remove incorrect #ifdef's")
Fixes: 7d4f8d87 ("switchdev; add VLAN support for port's bridge_getlink")
CC: Carolyn Wyborny <carolyn.wyborny@intel.com>
Signed-off-by: default avatarHuaibin Wang <huaibin.wang@6wind.com>
Signed-off-by: default avatarNicolas Dichtel <nicolas.dichtel@6wind.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent e8cb0293
...@@ -8950,7 +8950,7 @@ static int i40e_ndo_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq, ...@@ -8950,7 +8950,7 @@ static int i40e_ndo_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
return 0; return 0;
return ndo_dflt_bridge_getlink(skb, pid, seq, dev, veb->bridge_mode, return ndo_dflt_bridge_getlink(skb, pid, seq, dev, veb->bridge_mode,
nlflags, 0, 0, filter_mask, NULL); 0, 0, nlflags, filter_mask, NULL);
} }
/* Hardware supports L4 tunnel length of 128B (=2^7) which includes /* Hardware supports L4 tunnel length of 128B (=2^7) which includes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment