]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: fix ovs support
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Mon, 13 Mar 2017 15:24:03 +0000 (16:24 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Mar 2017 23:03:42 +0000 (16:03 -0700)
commit0990335373126aeb0fa63f44d25d1c82ffe358ba
tree4f1a82c52d5cc1a70773564c19ceb02449b7cb24
parent4115e1e44522740dd2f4a533475e3dad2b95a080
vxlan: fix ovs support

The required changes in the function vxlan_dev_create() were missing
in commit 3958200c998e.
The vxlan device is not registered anymore after this patch and the error
path causes an stack dump:
 WARNING: CPU: 3 PID: 1498 at net/core/dev.c:6713 rollback_registered_many+0x9d/0x3f0

Fixes: 3958200c998e ("vxlan: add changelink support")
CC: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Acked-by: Roopa Prabhu <roopa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c