linux-next: build failure after merge of the net-next tree
Subsystems (3)
Hi all,
After merging the net-next tree, today's linux-next build (x86_64 allmodconfig) failed like this:
drivers/net/vxlan.c: In function 'vxlan_changelink':drivers/net/vxlan.c:3763:10: error: too few arguments to function 'vxlan_fdb_update'
err = vxlan_fdb_update(vxlan, all_zeros_mac,
^~~~~~~~~~~~~~~~drivers/net/vxlan.c:830:12: note: declared here
static int vxlan_fdb_update(struct vxlan_dev *vxlan,
^~~~~~~~~~~~~~~~
Caused by commit
ce5e098f7a10 ("vxlan: changelink: Fix handling of default remotes")
from the net tree interacting with commit
0e6160f3f5a9 ("vxlan: vxlan_fdb_notify(): Make switchdev notification configurable")
from the net-next tree.
I added the following merge fix patch for today.
From: Stephen Rothwell <[email protected]>
Date: Thu, 20 Dec 2018 13:24:05 +1100
Subject: [PATCH] vxlan: fix for vxlan_fdb_update() API change
--- drivers/net/vxlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/vxlan.c +1 -1
@@ -3768,7 +3768,7 @@ static int vxlan_changelink(struct net_device *dev, struct nlattr *tb[], dst->remote_vni, dst->remote_vni, dst->remote_ifindex, - NTF_SELF); + NTF_SELF, true);if (err) {spin_unlock_bh (&vxlan->hash_lock);return err;
Signature · 5 lines
2.19.1 -- Cheers, Stephen Rothwell
Quoted 49 lines · Stephen Rothwell
Hi all,
After merging the net-next tree, today's linux-next build (
x86_64allmodconfig) failed like this:
drivers/net/vxlan.c: In function 'vxlan_changelink':drivers/net/vxlan.c:3763:10: error: too few arguments to function 'vxlan_fdb_update'
err = vxlan_fdb_update(vxlan,all_zeros_mac,
^~~~~~~~~~~~~~~~drivers/net/vxlan.c:830:12: note: declared here
static int vxlan_fdb_update(structvxlan_dev*vxlan,^~~~~~~~~~~~~~~~Caused by commit
ce5e098f7a10("vxlan: changelink: Fix handling of default remotes")from the net tree interacting with commit
0e6160f3f5a9("vxlan:vxlan_fdb_notify(): Make switchdev notification configurable")from the net-next tree.
I added the following merge fix patch for today.
From: Stephen Rothwell <[email protected]>
Date: Thu, 20 Dec 2018 13:24:05 +1100
Subject: [PATCH] vxlan: fix forvxlan_fdb_update()API changeSigned-off-by Stephen Rothwell <[email protected]>--- drivers/net/vxlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/net/vxlan.c +1
-1@@ -3768,7 +3768,7 @@ static int vxlan_changelink(struct net_device *dev, struct nlattr *tb[], dst->remote_vni, dst->remote_vni, dst->remote_ifindex, - NTF_SELF); + NTF_SELF, true);if (err) {spin_unlock_bh (&vxlan->hash_lock);return err;Signature · 1 line
2.19.1
Yes, that's the correct fix.
Thanks!