[PATCH net] i40e: fix call of ndo_dflt_bridge_getlink()

Subsystems: intel ethernet drivers, networking drivers, the rest

STALE3672d

4 messages, 2 authors, 2016-09-26 · open the first message on its own page

[PATCH net] i40e: fix call of ndo_dflt_bridge_getlink()

From: Nicolas Dichtel <hidden>
Date: 2016-09-19 16:15:11

From: Huaibin Wang <redacted>

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

Note that this may break netlink dumps.

Fixes: 9df70b66418e ("i40e: Remove incorrect #ifdef's")
Fixes: 7d4f8d871ab1 ("switchdev; add VLAN support for port's bridge_getlink")
CC: Scott Feldman <redacted>
CC: Carolyn Wyborny <redacted>
CC: Catherine Sullivan <redacted>
Signed-off-by: Huaibin Wang <redacted>
Signed-off-by: Nicolas Dichtel <redacted>
---
 drivers/net/ethernet/intel/i40e/i40e_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/intel/i40e/i40e_main.c b/drivers/net/ethernet/intel/i40e/i40e_main.c
index d0b3a1bb82ca..2843f6cae97a 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_main.c
+++ b/drivers/net/ethernet/intel/i40e/i40e_main.c
@@ -9012,7 +9012,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);
 }
 
 /* Hardware supports L4 tunnel length of 128B (=2^7) which includes
-- 
2.8.1

Re: [PATCH net] i40e: fix call of ndo_dflt_bridge_getlink()

From: Nicolas Dichtel <hidden>
Date: 2016-09-23 09:12:12

Le 19/09/2016 à 18:14, Nicolas Dichtel a écrit :
From: Huaibin Wang <redacted>

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

Note that this may break netlink dumps.

Fixes: 9df70b66418e ("i40e: Remove incorrect #ifdef's")
Fixes: 7d4f8d871ab1 ("switchdev; add VLAN support for port's bridge_getlink")
CC: Scott Feldman <redacted>
CC: Carolyn Wyborny <redacted>
CC: Catherine Sullivan <redacted>
Signed-off-by: Huaibin Wang <redacted>
Signed-off-by: Nicolas Dichtel <redacted>
Hi Jeff,

any news about this patch? David has marked it "awaiting upstream" on the
patchwork, so I understand it should go to your tree.


Thank you,
Nicolas

Re: [PATCH net] i40e: fix call of ndo_dflt_bridge_getlink()

From: Jeff Kirsher <hidden>
Date: 2016-09-23 21:37:19

On Fri, 2016-09-23 at 11:12 +0200, Nicolas Dichtel wrote:
Le 19/09/2016 à 18:14, Nicolas Dichtel a écrit :
quoted
From: Huaibin Wang <redacted>

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

Note that this may break netlink dumps.

Fixes: 9df70b66418e ("i40e: Remove incorrect #ifdef's")
Fixes: 7d4f8d871ab1 ("switchdev; add VLAN support for port's
bridge_getlink")
quoted
CC: Scott Feldman <redacted>
CC: Carolyn Wyborny <redacted>
CC: Catherine Sullivan <redacted>
Signed-off-by: Huaibin Wang <redacted>
Signed-off-by: Nicolas Dichtel <redacted>
Hi Jeff,

any news about this patch? David has marked it "awaiting upstream" on the
patchwork, so I understand it should go to your tree.
Yes, it needs to go through my tree.   Please send it to intel-wired-lan@li
sts.osuosl.org mailing list, that way I can track it through our patchwork
projects.  Also you can trim Scott Feldman and Catherine Sullivan from the
CC list.

http://patchwork.ozlabs.org/project/intel-wired-lan/list/

Re: [PATCH net] i40e: fix call of ndo_dflt_bridge_getlink()

From: Nicolas Dichtel <hidden>
Date: 2016-09-26 07:46:42

Le 23/09/2016 à 23:37, Jeff Kirsher a écrit :
[snip]
Yes, it needs to go through my tree.   Please send it to intel-wired-lan@li
sts.osuosl.org mailing list, that way I can track it through our patchwork
Ok, will do. I didn't send it to this list the first time because this list is
marked as "moderated for non-subscribers" in the MAINTAINERS file.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help