mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
i40e: fix call of ndo_dflt_bridge_getlink()
commit599b076d15upstream. Order of arguments is wrong. The wrong code has been introduced by commit7d4f8d871a, but is compiled only since commit9df70b6641. Note that this may break netlink dumps. Fixes:9df70b6641("i40e: Remove incorrect #ifdef's") Fixes:7d4f8d871a("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5be7e6b48b
commit
5cd2cd84d5
@@ -8595,7 +8595,7 @@ static int i40e_ndo_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
|
||||
return 0;
|
||||
|
||||
return ndo_dflt_bridge_getlink(skb, pid, seq, dev, veb->bridge_mode,
|
||||
nlflags, 0, 0, filter_mask, NULL);
|
||||
0, 0, nlflags, filter_mask, NULL);
|
||||
}
|
||||
|
||||
#define I40E_MAX_TUNNEL_HDR_LEN 80
|
||||
|
||||
Reference in New Issue
Block a user