No. For the net device itself, make sure you do
SET_MODULE_OWNER() on the netdev before passing it
to register_netdevice().
For the procfs stuff you must make sure the appropriate
module refcounting is done for that mechanism.
Just deleteing MOD_{INC,DEC}_USE_COUNT blindly will result
in the module being broken.
-- David S. Miller <davem@redhat.com>- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/