From: Paolo Abeni <pab...@redhat.com> Date: Wed, 25 Nov 2015 18:05:27 +0100
> After 614732eaa12d, no refcount is mainteined for the vport-vxlan module. > This allows the userspace to remove such module while vport-vxlan > devices still exist, which lead to later oops, i.e. when > the openvswitch module is removed. > > Fixes: 614732eaa12d ("openvswitch: Use regular VXLAN net_device device") > > Signed-off-by: Paolo Abeni <pab...@redhat.com> This is so error prone, with some vport_ops needing to mark the module and some don't (because they are in the main openvswitch driver). Fix this properly, by making the vport_ops register function be a macro that sets THIS_MODULE in the vport_ops before passing it on down to the real registry function. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html