mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-31 16:13:22 +00:00
vxlan: fix function name spelling
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
3f5d6af094
commit
ba609e9bf1
@ -1332,7 +1332,7 @@ static int vxlan_init(struct net_device *dev)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void vxlan_fdb_delete_defualt(struct vxlan_dev *vxlan)
|
static void vxlan_fdb_delete_default(struct vxlan_dev *vxlan)
|
||||||
{
|
{
|
||||||
struct vxlan_fdb *f;
|
struct vxlan_fdb *f;
|
||||||
|
|
||||||
@ -1349,7 +1349,7 @@ static void vxlan_uninit(struct net_device *dev)
|
|||||||
struct vxlan_net *vn = net_generic(dev_net(dev), vxlan_net_id);
|
struct vxlan_net *vn = net_generic(dev_net(dev), vxlan_net_id);
|
||||||
struct vxlan_sock *vs = vxlan->vn_sock;
|
struct vxlan_sock *vs = vxlan->vn_sock;
|
||||||
|
|
||||||
vxlan_fdb_delete_defualt(vxlan);
|
vxlan_fdb_delete_default(vxlan);
|
||||||
|
|
||||||
if (vs)
|
if (vs)
|
||||||
vxlan_sock_release(vn, vs);
|
vxlan_sock_release(vn, vs);
|
||||||
@ -1756,7 +1756,7 @@ static int vxlan_newlink(struct net *net, struct net_device *dev,
|
|||||||
|
|
||||||
err = register_netdevice(dev);
|
err = register_netdevice(dev);
|
||||||
if (err) {
|
if (err) {
|
||||||
vxlan_fdb_delete_defualt(vxlan);
|
vxlan_fdb_delete_default(vxlan);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user