解决 Linux 报错 kernel unregister_netdevice waiting for vxlan.calico
分析 Kubernetes 节点重启网络插件时报 unregister_netdevice waiting for vxlan 根因,提供虚拟网卡注销步骤。
问题现象
内核日志刷屏:
kernel: unregister_netdevice: waiting for vxlan.calico to become free. Usage count = 1
触发根因
Calico 节点组件重启时,VXLAN 隧道设备上的套接字引用未完全释放。
解决步骤与操作命令
步骤一:强制关闭并删除 VXLAN 接口
sudo ip link set vxlan.calico down
sudo ip link delete vxlan.calico
重启 calico-node Pod,接口自动重建。


