I don't think that can happen. Before we drop the module reference we
call sk_alloc() which gets another module reference via its cp->prot
argument. If sk_alloc() fails we return with error from can_create()
I assume sock->ops won't be used after that.
urs
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html